正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -28,8 +28,8 @@ class Business extends Api | @@ -28,8 +28,8 @@ class Business extends Api | ||
| 28 | $this->auth->id = 1;//测试用 | 28 | $this->auth->id = 1;//测试用 |
| 29 | $postParam = $this->request->param(); | 29 | $postParam = $this->request->param(); |
| 30 | $this->postParam = $postParam; | 30 | $this->postParam = $postParam; |
| 31 | - if (empty($postParam['code'])) { | ||
| 32 | - $this->error("门店code异常"); | 31 | + if (empty($postParam['store_id'])) { |
| 32 | + $this->error("门店store_id异常"); | ||
| 33 | } | 33 | } |
| 34 | $this->store_id = $postParam['code']; | 34 | $this->store_id = $postParam['code']; |
| 35 | $store = Db::name("verification_store")->where("id", $this->store_id)->find(); | 35 | $store = Db::name("verification_store")->where("id", $this->store_id)->find(); |
-
请 注册 或 登录 后发表评论