...
|
...
|
@@ -69,6 +69,11 @@ class Cards extends Backend |
|
|
$validate = is_bool($this->modelValidate) ? ($this->modelSceneValidate ? $name . '.edit' : $name) : $this->modelValidate;
|
|
|
$row->validateFailException(true)->validate($validate);
|
|
|
}
|
|
|
$Api = new SetCode();
|
|
|
$params['mobile'] = $Api->decrypt($params['mobile']);
|
|
|
$params['CardsNum'] = $Api->decrypt($params['CardsNum']);
|
|
|
$params['remark'] = $Api->decrypt($params['remark']);
|
|
|
$params['money'] = $Api->decrypt($params['money']);
|
|
|
$result = $row->allowField(true)->save($params);
|
|
|
Db::commit();
|
|
|
} catch (ValidateException $e) {
|
...
|
...
|
|