Commit 5a4fa695 authored by hujun's avatar hujun

没有权限

parent cdd8cc23
......@@ -120,7 +120,8 @@ class Location extends Basic
if ($is_) {
$is_ = $s_redis->checkRule($this->agentId, 'location_store'); //全门店
if ($is_) {
$where['agent_id'] = $this->agentId; //默认查询自己
// $where['agent_id'] = $this->agentId; //默认查询自己
return $this->response(101, '没有权限');
} else {
$where['store_id'] = $agent_data['store_id']; //本门店
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment