Explorar o código

优化:api地址改为兼容模式

萤火科技 %!s(int64=5) %!d(string=hai) anos
pai
achega
1278ca3214
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      public/config.js

+ 2 - 2
public/config.js

@@ -2,6 +2,6 @@ window.publicConfig = {
   // 系统名称
   APP_NAME: '萤火商城系统2.0',
   // 必填: api地址, 换成自己的域名即可
-  // 例如: https://www.你的域名.com/index.php/store
-  BASE_API: '../index.php/store'
+  // 例如: https://www.你的域名.com/index.php?s=/store
+  BASE_API: '../index.php?s=/store'
 }