소스 검색

管理员关联用户,核销组只能看到自己核销的订单

lizhen_gitee 6 달 전
부모
커밋
64e16c85ee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/admin/controller/unishop/Order.php

+ 1 - 1
application/admin/controller/unishop/Order.php

@@ -54,7 +54,7 @@ class Order extends Backend
 
             //核销组只能看已核销的,且核销人是自己的
             $where_user = [];
-            if($this->auth->getGroupIds()[0] == 6){
+            if($this->auth->getGroupIds()[0] == 8){
                 $where_user = [
                     'order.have_received' => ['neq',0],
                     'order.hexiao_uid'    => ['=',$this->auth->user_id],