Explorar el Código

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

Anyon hace 7 años
padre
commit
d4ff09fb7c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/goods/controller/Product.php

+ 1 - 1
application/goods/controller/Product.php

@@ -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}");
     }