...
|
...
|
@@ -32,17 +32,18 @@ class LoadController extends HomeBaseController |
|
|
public function notify(){
|
|
|
|
|
|
$param = $this->request->param();
|
|
|
if(empty($param['RequestType'])){
|
|
|
$this->error('error');
|
|
|
}
|
|
|
if($param['RequestType'] != 101){
|
|
|
$this->error('error');
|
|
|
}
|
|
|
// if(empty($param['RequestType'])){
|
|
|
// $this->error('error');
|
|
|
// }
|
|
|
// if($param['RequestType'] != 101){
|
|
|
// $this->error('error');
|
|
|
// }
|
|
|
cache('param',$param);
|
|
|
$result = json_decode($param['RequestData'],true);
|
|
|
cache('result',$result);
|
|
|
$bird = config('bird');
|
|
|
echo '{
|
|
|
"EBusinessID": "'.$result[0]['EBusinessID'].'",
|
|
|
"EBusinessID": "'.$bird['EBusinessID'].'",
|
|
|
"UpdateTime": "'. date('Y-m-d H:i:s', time()) .'",
|
|
|
"Success": "'. true .'",
|
|
|
"Reason": "'. 123 .'"
|
...
|
...
|
|