Selaa lähdekoodia

测试域名更改

gcz 8 kuukautta sitten
vanhempi
commit
a998430944
4 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 1 1
      common/config.js
  2. 1 1
      manifest.json
  3. 1 1
      package.json
  4. 1 1
      pages/login/loginh5.vue

+ 1 - 1
common/config.js

@@ -5,7 +5,7 @@ const node_dev = process.env.H_NODE_ENV;
 let baseUrl = '/api/serviceapi',
   wxAppid = 'wx6490eaa0d20d2be2', // 
   staticUrl = 'https://minio.wdzzgs.com/greattransition/staticfile',
-  redirectUri = encodeURIComponent('https://greath5.dev.gztjy.top/greatgroup/pages/login/login'),
+  redirectUri = encodeURIComponent('https://greath5.dev.dazesoft.cn/greatgroup/pages/login/login'),
   authUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wxAppid}&redirect_uri=${redirectUri}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`,
   upFileUrl = 'https://serviceapi.wdzzgs.com/thirdapi/upload/single/minio';
 if (node_dev) {

+ 1 - 1
manifest.json

@@ -87,7 +87,7 @@
             "proxy" : {
                 "/api" : {
                     // "disableHostCheck" : true,
-                    "target" : "https://greatadmin.dev.gztjy.top/", //请求的目标域名
+                    "target" : "https://greatadmin.dev.dazesoft.cn/", //请求的目标域名
                     "changeOrigin" : true,
                     "secure" : false,
                     "pathRewrite" : {

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
         "env": {
           "UNI_PLATFORM": "h5",
           "H_NODE_ENV": "development",
-          "H_BASE_URL": "https://greath5.dev.gztjy.top/serviceapi",
+          "H_BASE_URL": "https://greath5.dev.dazesoft.cn/serviceapi",
           "H_UP_FILE_URL": "https://serviceapi.wdzzgs.com/thirdapi/upload/single/minio"
         }
       },

+ 1 - 1
pages/login/loginh5.vue

@@ -197,7 +197,7 @@
 			/**  微信授权登录  */
 			redirectToAuth() {
 			    const appid = 'wx6490eaa0d20d2be2';
-			    const redirectUri = encodeURIComponent('https://greath5.dev.gztjy.top/pages/login/loginh5');
+			    const redirectUri = encodeURIComponent('https://greath5.dev.dazesoft.cn/pages/login/loginh5');
 			    const authUrl = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${redirectUri}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`;
 			 
 			    window.location.href = authUrl;