Bläddra i källkod

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

萤火科技 5 år sedan
förälder
incheckning
ba586de5c2
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      public/config.js

+ 2 - 2
public/config.js

@@ -2,8 +2,8 @@ window.serverConfig = {
   // 系统名称
   APP_NAME: '萤火商城系统',
   // 必填: api地址, 换成自己的域名即可
-  // 例如: https://www.你的域名.com/index.php/admin
-  BASE_API: 'http://yoshop2.cn/index.php/admin',
+  // 例如: https://www.你的域名.com/index.php?s=/admin
+  BASE_API: 'http://yoshop2.cn/index.php?s=/admin',
   // 必填: store模块的入口地址
   // 例如: https://www.你的域名.com/store
   STORE_URL: 'http://yoshop2.cn/store'