ソースを参照

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

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],