فهرست منبع

替换全学科报告接口

24753255@qq.com 5 ماه پیش
والد
کامیت
1a66e16439

+ 1 - 1
protected/controllers/AllSubjectController.php

@@ -1319,7 +1319,7 @@ class AllSubjectController extends Controller{
     }
     //更新报告后发送通知
     private function sendNoticeToReport($examGroupId){
-        $url        =   Yii::app()->params['zsy_api_url'].'/teacher/hm/report/external/exam/group/clear-cache/'.$examGroupId;
+        $url        =   Yii::app()->params['zsy_api_url'].'/qxk/academic/hm/report/external/exam/group/clear-cache/'.$examGroupId;
         $username   =   $this->schoolInfo->school_id;
         $password   =   md5($this->schoolId.Yii::app()->params['zsy_api_key']);
         $curl = @curl_init();

+ 2 - 2
protected/controllers/CyletController.php

@@ -1221,7 +1221,7 @@ class CyletController extends Controller
         $username   =   $this->schoolInfo->school_id;
         $password   =   md5($this->schoolId.Yii::app()->params['zsy_api_key']);
 
-        $url        =   Yii::app()->params['zsy_api_url'].'/teacher/hm/report/exam/group/rank/section/'.$cylet_id;
+        $url        =   Yii::app()->params['zsy_api_url'].'/qxk/academic/hm/report/exam/group/rank/section/'.$cylet_id;
         $rs =  $this->CrmApiPost($url,$param,$username,$password,'GET');
 
         $CountSection=array();  //排名分段
@@ -1230,7 +1230,7 @@ class CyletController extends Controller
             $CountSection=$rs->data;
         }
 
-        $url        =   Yii::app()->params['zsy_api_url'].'/teacher/hm/report/exam/group/score/section/'.$cylet_id;
+        $url        =   Yii::app()->params['zsy_api_url'].'/qxk/academic/hm/report/exam/group/score/section/'.$cylet_id;
         $rs =  $this->CrmApiPost($url,$param,$username,$password,'GET');
 
         $ScoreSection=array();  //总分分段

+ 1 - 1
protected/controllers/PaperController.php

@@ -3315,7 +3315,7 @@
 
      //更新报告后发送通知
      private function sendNoticeToReport($examGroupId){
-         $url        =   Yii::app()->params['zsy_api_url'].'/teacher/hm/report/external/exam/group/clear-cache/'.$examGroupId;
+         $url        =   Yii::app()->params['zsy_api_url'].'/qxk/academic/hm/report/external/exam/group/clear-cache/'.$examGroupId;
          $username   =   $this->schoolInfo->school_id;
          $password   =   md5($this->schoolId.Yii::app()->params['zsy_api_key']);
          $curl = @curl_init();