|
@@ -32,17 +32,18 @@ class LoadController extends HomeBaseController |
|
@@ -32,17 +32,18 @@ class LoadController extends HomeBaseController |
32
|
public function notify(){
|
32
|
public function notify(){
|
33
|
|
33
|
|
34
|
$param = $this->request->param();
|
34
|
$param = $this->request->param();
|
35
|
- if(empty($param['RequestType'])){
|
|
|
36
|
- $this->error('error');
|
|
|
37
|
- }
|
|
|
38
|
- if($param['RequestType'] != 101){
|
|
|
39
|
- $this->error('error');
|
|
|
40
|
- }
|
35
|
+// if(empty($param['RequestType'])){
|
|
|
36
|
+// $this->error('error');
|
|
|
37
|
+// }
|
|
|
38
|
+// if($param['RequestType'] != 101){
|
|
|
39
|
+// $this->error('error');
|
|
|
40
|
+// }
|
41
|
cache('param',$param);
|
41
|
cache('param',$param);
|
42
|
$result = json_decode($param['RequestData'],true);
|
42
|
$result = json_decode($param['RequestData'],true);
|
|
|
43
|
+ cache('result',$result);
|
43
|
$bird = config('bird');
|
44
|
$bird = config('bird');
|
44
|
echo '{
|
45
|
echo '{
|
45
|
- "EBusinessID": "'.$result[0]['EBusinessID'].'",
|
46
|
+ "EBusinessID": "'.$bird['EBusinessID'].'",
|
46
|
"UpdateTime": "'. date('Y-m-d H:i:s', time()) .'",
|
47
|
"UpdateTime": "'. date('Y-m-d H:i:s', time()) .'",
|
47
|
"Success": "'. true .'",
|
48
|
"Success": "'. true .'",
|
48
|
"Reason": "'. 123 .'"
|
49
|
"Reason": "'. 123 .'"
|