Browse Source

feat:添加用户系统线上环境

snow 1 year ago
parent
commit
4a86b80815

+ 2 - 1
src/config/env.company.js

@@ -5,7 +5,8 @@ module.exports = {
   wechatUrl: "http://rep.test241.wanyuhengtong.com", // 微信授权地址
   backUrl: "http://webstock3.test241.wanyuhengtong.com", // 微信授权后重定向地址
   api: {
-    baseApi: 'http://stocknew.test241.wanyuhengtong.com/'
+    baseApi: 'http://stocknew.test241.wanyuhengtong.com/',
+    userApi: "http://user.test241.wanyuhengtong.com/"
     // baseApi: 'http://stockwm.test241.wanyuhengtong.com/'
   },
   webUrl: 'http://project.web.caixiao365.com/#/test-good-share?id=',

+ 1 - 0
src/config/env.development.js

@@ -7,6 +7,7 @@ module.exports = {
   api: {
     baseApi: 'http://stocknew.test241.wanyuhengtong.com/',
     userApi: "http://user.test241.wanyuhengtong.com/"
+
     // baseApi: 'http://stockwm.test241.wanyuhengtong.com/'
   },
   webUrl: 'http://project.web.caixiao365.com/#/test-good-share?id=',

+ 2 - 1
src/config/env.v3.js

@@ -5,7 +5,8 @@ module.exports = {
   wechatUrl: "http://rep.test241.wanyuhengtong.com", // 微信授权地址
   backUrl: "http://webstock3.test241.wanyuhengtong.com", // 微信授权后重定向地址
   api: {
-    baseApi: 'http://stock.api.caixiao365.com/'
+    baseApi: 'http://stock.api.caixiao365.com/',
+    userApi: "http://user.api.caixiao365.com/"
     // baseApi: 'http://stockwm.test241.wanyuhengtong.com/'
   },
   webUrl: 'http://project.web.caixiao365.com/#/good-share?id=',

+ 1 - 1
src/layout/components/NotifyModal.vue

@@ -225,7 +225,7 @@ async handleForcedDisplay(curMessage, isInitialPage){
       await asyncRequest.setVersion(
         { 
           account_id: userId, 
-          system_version: curVersion, 
+          system_version: curVersion.trim(), 
           plat_code: "cx" 
         }, 
         {