正在显示
1 个修改的文件
包含
5 行增加
和
1 行删除
@@ -27,10 +27,14 @@ class LoadController extends HomeBaseController | @@ -27,10 +27,14 @@ class LoadController extends HomeBaseController | ||
27 | } | 27 | } |
28 | public function test(){ | 28 | public function test(){ |
29 | 29 | ||
30 | - dump(cache('param')); | 30 | + dump(json_decode(cache('param')['RequestData'])); |
31 | } | 31 | } |
32 | public function notify(){ | 32 | public function notify(){ |
33 | + | ||
33 | $param = $this->request->param(); | 34 | $param = $this->request->param(); |
35 | + if(empty($param['RequestType'])){ | ||
36 | + $this->error('error'); | ||
37 | + } | ||
34 | cache('param',$param); | 38 | cache('param',$param); |
35 | $bird = config('bird'); | 39 | $bird = config('bird'); |
36 | $arr['EBusinessID'] = 'test'.$bird['EBusinessID']; | 40 | $arr['EBusinessID'] = 'test'.$bird['EBusinessID']; |
-
请 注册 或 登录 后发表评论