[更新]修复商品编辑回跳地址 #95

This commit is contained in:
Anyon 2018-04-11 14:38:26 +08:00
parent b88cb0384d
commit d4ff09fb7c

View File

@ -105,7 +105,7 @@ class Product extends BasicAdmin
} catch (\Exception $e) {
$this->error('产品添加失败,请稍候再试!');
}
list($base, $spm, $url) = [url('@admin'), $this->request->get('spm'), url('store/goods/index')];
list($base, $spm, $url) = [url('@admin'), $this->request->get('spm'), url('goods/product/index')];
$this->success('添加产品成功!', "{$base}#{$url}?spm={$spm}");
}