diff --git a/app/portal/controller/BirdController.php b/app/portal/controller/BirdController.php index ae86081..4a71a4f 100644 --- a/app/portal/controller/BirdController.php +++ b/app/portal/controller/BirdController.php @@ -212,9 +212,9 @@ class BirdController extends HomeBaseController $jsonResult = $this->orderTracesSubByJson($indent['order_number'],$indent['logistic_code'],$address); $result = json_decode($jsonResult,true); if(empty($result['Reason'])){ - return dump($result);//订单轨迹 + return ['code'=>20000,'msg'=>'SUCCESS'];//订单轨迹 }else{ - return $result['Reason']; + return ['code'=>40000,'msg'=>$result['Reason']]; } } diff --git a/app/portal/controller/LoadController.php b/app/portal/controller/LoadController.php index 59b5435..c8e7aa0 100644 --- a/app/portal/controller/LoadController.php +++ b/app/portal/controller/LoadController.php @@ -25,4 +25,9 @@ class LoadController extends HomeBaseController } } } + public function notify(){ + $param = $this->request->param(); + cache($param); + echo 1; + } } \ No newline at end of file