|
|
|
@ -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('成功添加线报商品'); |
|
|
|
|