diff --git a/README.md b/README.md index c0265f295..7b3ebf80f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ThinkAdmin for PHP * ThinkAdmin 是一个基于 Thinkphp 5.1.x 开发的后台管理系统,集成后台系统常用功能。 * 项目安装及二次开发请参考 ThinkPHP 官方文档及下面的服务环境说明,数据库 sql 文件存放于项目根目录下。 >* 注意:项目测试请另行搭建环境并创建数据库(数据库配置 config/database.php), 切勿直接使用测试环境数据! ->* 如果系统提示“测试系统禁止操作等字样”,可以修改项目路由配置(route/route.php), 清空里面的路由记录。 +>* 如果系统提示“测试系统禁止操作等字样”,可以删除项目演示路由配置(route/demo.php)或清空里面的路由记录。 >* 当前版本使用 ThinkPHP 5.1.x 版本,对PHP版本要求不低于php5.6,具体请查阅ThinkPHP官方文档。 diff --git a/application/store/controller/GoodsBrand.php b/application/store/controller/GoodsBrand.php index 7c6618d70..54e39a05e 100644 --- a/application/store/controller/GoodsBrand.php +++ b/application/store/controller/GoodsBrand.php @@ -104,7 +104,7 @@ class GoodsBrand extends BasicAdmin protected function _form_result($result) { if ($result !== false) { - list($base, $spm, $url) = [url('@admin'), $this->request->get('spm'), url('goods/brand/index')]; + list($base, $spm, $url) = [url('@admin'), $this->request->get('spm'), url('store/goods_brand/index')]; $this->success('数据保存成功!', "{$base}#{$url}?spm={$spm}"); } }