作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

接收推送消息

@@ -26,8 +26,11 @@ class LoadController extends HomeBaseController @@ -26,8 +26,11 @@ class LoadController extends HomeBaseController
26 } 26 }
27 } 27 }
28 public function notify(){ 28 public function notify(){
29 - $param = $this->request->param();  
30 - cache($param);  
31 - echo 1; 29 + $bird = config('bird');
  30 + $arr['EBusinessID'] = $bird['EBusinessID'];
  31 + $arr['UpdateTime'] = date('Y-m-d H:i:s',time());
  32 + $arr['Success'] = true;
  33 + $arr['Reason'] = "";
  34 + return json_encode($arr);
32 } 35 }
33 } 36 }