Merge pull request #106 from freechen/master

修正品牌管理中添加和编辑成功后无法返回列表的错误
This commit is contained in:
邹景立 2018-05-09 17:40:23 +08:00 committed by GitHub
commit 2b0e0d89a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ class GoodsBrand extends BasicAdmin
protected function _form_result($result) protected function _form_result($result)
{ {
if ($result !== false) { 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}"); $this->success('数据保存成功!', "{$base}#{$url}?spm={$spm}");
} }
} }