From 3180f697287f78555f62b026e96c6729ef2d4dcb Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 3 May 2018 10:59:13 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=95=86?= =?UTF-8?q?=E5=9F=8E=E4=BA=A7=E5=93=81=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/goods/controller/Product.php | 8 ++++---- application/goods/view/product/index.html | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/application/goods/controller/Product.php b/application/goods/controller/Product.php index 165b8b0b9..74f96e6cf 100644 --- a/application/goods/controller/Product.php +++ b/application/goods/controller/Product.php @@ -244,9 +244,9 @@ class Product extends BasicAdmin public function forbid() { if (DataService::update($this->table)) { - $this->success("产品禁用成功!", ''); + $this->success("产品下架成功!", ''); } - $this->error("产品禁用失败,请稍候再试!"); + $this->error("产品下架失败,请稍候再试!"); } /** @@ -257,9 +257,9 @@ class Product extends BasicAdmin public function resume() { if (DataService::update($this->table)) { - $this->success("产品启用成功!", ''); + $this->success("产品上架成功!", ''); } - $this->error("产品启用失败,请稍候再试!"); + $this->error("产品上架失败,请稍候再试!"); } } diff --git a/application/goods/view/product/index.html b/application/goods/view/product/index.html index f3cf5e250..3491e8479 100644 --- a/application/goods/view/product/index.html +++ b/application/goods/view/product/index.html @@ -3,7 +3,7 @@ {block name="button"} - + @@ -15,7 +15,7 @@ - + {/block}