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

合并分支 'wangxiaogang' 到 'master'

接收推送消息



查看合并请求 !12
@@ -35,15 +35,17 @@ class LoadController extends HomeBaseController @@ -35,15 +35,17 @@ class LoadController extends HomeBaseController
35 if(empty($param['RequestType'])){ 35 if(empty($param['RequestType'])){
36 $this->error('error'); 36 $this->error('error');
37 } 37 }
38 - if($param['RequestType'] != 102){ 38 + if($param['RequestType'] != 101){
39 $this->error('error'); 39 $this->error('error');
40 } 40 }
41 cache('param',$param); 41 cache('param',$param);
  42 + $result = json_decode($param['RequestData'],true);
42 $bird = config('bird'); 43 $bird = config('bird');
43 - $arr['EBusinessID'] = 'test'.$bird['EBusinessID'];  
44 - $arr['UpdateTime'] = date('Y-m-d H:i:s',time());  
45 - $arr['Success'] = true;  
46 - $arr['Reason'] = "";  
47 - return json_encode($arr); 44 + echo '{
  45 + "EBusinessID": "'.$result[0]['EBusinessID'].'",
  46 + "UpdateTime": "'. date('Y-m-d H:i:s', time()) .'",
  47 + "Success": "'. true .'",
  48 + "Reason": "'. 123 .'"
  49 + }';
48 } 50 }
49 } 51 }