shish 2 лет назад
Родитель
Сommit
ff96c4b58e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/OrderController.php

+ 1 - 1
app-ghs/controllers/OrderController.php

@@ -2443,7 +2443,7 @@ class OrderController extends BaseController
         if(empty($staff)){
             util::fail('没有找到员工');
         }
-        if($staff->mainI!=$this->mainId){
+        if($staff->mainId!=$this->mainId){
             util::fail('不是你的员工');
         }
         $staffName = $staff->name??'';