diff --git a/app/api/controller/LocalStore.php b/app/api/controller/LocalStore.php index fca485e3..38f33f66 100755 --- a/app/api/controller/LocalStore.php +++ b/app/api/controller/LocalStore.php @@ -399,20 +399,9 @@ class LocalStore extends Api // 绑定用户列表 public function bindList() { - if($this->request->isGet()) { - $data = LocalStoreLogic::bindList($post); - return JsonServer::success('获取成功', $data); - }else{ - return JsonServer::error('请求方式错误'); - } - -// try { -// $post = $this->request->post(); -// LocalStoreLogic::bindList($post); -// return JsonServer::success('添加成功'); -// } catch (\Exception $e) { -// return JsonServer::error($e->getMessage()); -// } + $post = $this->request->post(); + $data = LocalStoreLogic::bindList($post); + return JsonServer::success('获取成功', $data); } // 绑定用户