From d768663a72c286dfcd8a167fb29a7c4cbaf7ee66 Mon Sep 17 00:00:00 2001 From: zengyyh Date: Sun, 3 Nov 2024 14:51:03 +0800 Subject: [PATCH] 123 --- app/store/controller/Goods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/controller/Goods.php b/app/store/controller/Goods.php index e63b61af..9f8d1e84 100644 --- a/app/store/controller/Goods.php +++ b/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('成功添加线报商品');