zengyyh 4 weeks ago
parent 2b0c3a433f
commit d768663a72
  1. 2
      app/store/controller/Goods.php

@ -860,7 +860,7 @@ class Goods extends Controller
$model = new ModelTipoff;
if (!$model->addGoods($id,$this->postForm())) {
if ($model->addGoods($id,$this->postForm()) === false) {
return $this->renderError($model->getError());
}
return $this->renderSuccess('成功添加线报商品');

Loading…
Cancel
Save