|
@@ -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();
|