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}