lizhen_gitee hai 1 ano
pai
achega
635b0b2d0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      application/admin/controller/Package.php

+ 1 - 1
application/admin/controller/Package.php

@@ -115,7 +115,7 @@ class Package extends Backend
             Db::name('package')->where('id',$this->model->id)->update(['mini_code'=>$fileUrl]);
 
             Db::commit();
-            $this->getMiniCode($this->model->id,[],$this->auth->company_id);
+            $this->getMiniCode($this->model->id,[],$params['company_id']);
 
         } catch (ValidateException|PDOException|Exception $e) {
         Db::rollback();