作者 郭文星

'21332'

@@ -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();