From dcc61fc4b536f672d36508b6a2717a12ca6cc8cb Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Thu, 16 Sep 2021 11:09:02 +0800
Subject: [PATCH] 升档

---
 webpack.common.js            |    8 ++++----
 src/views/user/loginByWx.vue |    2 +-
 src/views/main/product.vue   |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/main/product.vue b/src/views/main/product.vue
index 685f62e..f60f5f0 100644
--- a/src/views/main/product.vue
+++ b/src/views/main/product.vue
@@ -96,7 +96,7 @@
       alert("openId:" + openId);
       alert("codeId:" + codeId);
       if (codeId == undefined) {
-        var strUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + "wx594ab33e0466eccf" + "&redirect_uri=" + "https%3a%2f%2fsie.jycash.cn%2fsib_wx_scoreo%2f%23%2f" + "&response_type=code&scope=snsapi_userinfo" + "#wechat_redirect";
+        var strUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + "wx594ab33e0466eccf" + "&redirect_uri=" + "https%3a%2f%2fsie.jycash.cn%2fsib_wx_scorep%2f%23%2f" + "&response_type=code&scope=snsapi_userinfo" + "#wechat_redirect";
         window.location.href = strUrl;
       } else if (openId == undefined) {
         this.$api.getWeChatUserInfo({ code: codeId }).then(
diff --git a/src/views/user/loginByWx.vue b/src/views/user/loginByWx.vue
index f58d6b6..f48c9c8 100644
--- a/src/views/user/loginByWx.vue
+++ b/src/views/user/loginByWx.vue
@@ -67,7 +67,7 @@
       if ((!this.openId && !this.urlCode) || (typeof this.openId == "undefined" && !this.urlCode)) {
         let url = location.host;
         // url = "t.finlean.com";
-        var str = encodeURIComponent(`https://${url}/sib_wx_scoreo/#/loginByWx`);
+        var str = encodeURIComponent(`https://${url}/sib_wx_scorep/#/loginByWx`);
         var fn = new GoWeChat("wx594ab33e0466eccf", str);
         fn.gocontract();
       } else {
diff --git a/webpack.common.js b/webpack.common.js
index f1b7144..0d5ba9e 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -1,8 +1,8 @@
 /*
  * @Author: 小明丶
  * @Date: 2019-08-19 15:23:18
- * @LastEditors: 小明丶
- * @LastEditTime: 2021-01-07 10:34:13
+ * @LastEditors: Please set LastEditors
+ * @LastEditTime: 2021-09-16 10:55:31
  * @Description:
  */
 //  webpack通用配置
@@ -14,7 +14,7 @@
 const vuxLoader = require("vux-loader");
 let env = process.env.NODE_ENV;
 //打包地址
-let srcUrl = "/sib_wx_scoreo/";
+let srcUrl = "/sib_wx_scorep/";
 module.exports = {
   entry: {
     index: "./src/index.js",
@@ -22,7 +22,7 @@
   output: {
     filename: "js/[name].js",
     path: path.resolve(__dirname, "dist"),
-    publicPath: env ? "/sib_wx_scoreo/" : "/", //根据线上项目路径更改 /projectpath
+    publicPath: env ? "/sib_wx_scorep/" : "/", //根据线上项目路径更改 /projectpath
   },
   /**防止将某些 import 的包(package)打包到 bundle 中,而是在运行时(runtime)再去从外部获取这些扩展依赖,
    * 简而言之:就是使用cdn~不打包这些变量引用的文件,生成环境时需要在index.html中手动引入cdn

--
Gitblit v1.8.0