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