修改添加绑定用户权限功能

This commit is contained in:
wangxiaowei 2024-10-08 15:00:16 +08:00
parent 93b6717e2c
commit 3ce82679bb

@ -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);
}
// 绑定用户