地址
This commit is contained in:
parent
a02eaeb3a8
commit
e24f5f0449
|
|
@ -156,7 +156,7 @@ class Dispatchrecord extends Backend
|
||||||
$dispatch->record_count ++;
|
$dispatch->record_count ++;
|
||||||
//$params['admin_id'] = $this->auth->id;
|
//$params['admin_id'] = $this->auth->id;
|
||||||
$result = $this->model->allowField(true)->save($params);
|
$result = $this->model->allowField(true)->save($params);
|
||||||
$dispatch->save();
|
$dispatch->allowField(true)->save();
|
||||||
Db::commit();
|
Db::commit();
|
||||||
} catch (ValidateException|PDOException|Exception $e) {
|
} catch (ValidateException|PDOException|Exception $e) {
|
||||||
Db::rollback();
|
Db::rollback();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user