Browse Source

订单流转到总公司

lizhen_gitee 6 tháng trước cách đây
mục cha
commit
73c75a4dc8

+ 1 - 1
application/company/controller/Maintain.php

@@ -578,7 +578,7 @@ class Maintain extends Apic
             Db::rollback();
             Db::rollback();
             $this->error('没找到该信息,请刷新重试');
             $this->error('没找到该信息,请刷新重试');
         }
         }
-        if($info['company_id'] != $this->auth->company_id){
+        if($this->auth->company_id != 1 && $info['company_id'] != $this->auth->company_id){
             Db::rollback();
             Db::rollback();
             $this->error('没找到该信息,请刷新重试');
             $this->error('没找到该信息,请刷新重试');
         }
         }