edit修改保存商品接口
This commit is contained in:
parent
82ec19f862
commit
6b20a601f9
@ -155,10 +155,13 @@ class CommonGoodsEditForm extends Model
|
||||
return $res;
|
||||
}
|
||||
|
||||
if ($res['code'] != 0 || $res1['code'] != 0) {
|
||||
if ($res['code'] != 0) {
|
||||
$t->rollBack();
|
||||
return $res;
|
||||
}
|
||||
if($res1['code'] != 0){
|
||||
return $res1;
|
||||
}
|
||||
|
||||
|
||||
if (!$this->model->save()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user