Browse Source

feat(配置): 修改为诚易融-融资担保小程序的APPID和APPSECRET

qq12rrr 1 week ago
parent
commit
d803a4cc7d
2 changed files with 6 additions and 6 deletions
  1. 1 1
      project.config.json
  2. 5 5
      src/pages/user/components/LoginBox.tsx

+ 1 - 1
project.config.json

@@ -2,7 +2,7 @@
   "miniprogramRoot": "dist/",
   "projectname": "taro-pet",
   "description": "",
-  "appid": "wxaca93174bcaa6453",
+  "appid": "wx327f4590712c07fe",
   "setting": {
     "urlCheck": true,
     "es6": false,

+ 5 - 5
src/pages/user/components/LoginBox.tsx

@@ -102,11 +102,11 @@ const LoginBox = forwardRef((props, ref) => {
     const appId = appInfo.appId;
 
     switch (appId) {
-      case "wxaca93174bcaa6453":
+      case "wxc7ed88182aa77a68":
         appName = "惠融钱包";
         break;
-      case "wxf7762282683395d1":
-        appName = "诚易融";
+      case "wx327f4590712c07fe":
+        appName = "诚易融-融资担保";
         break;
       default:
         // 默认惠融钱包
@@ -188,7 +188,7 @@ const LoginBox = forwardRef((props, ref) => {
       setIsGetValidate(!isGetValidate);
       setTime(60); // 重置倒计时
       let obj = {
-        channelCode: channelCode || "hrhj001",
+        channelCode: channelCode || "hrqbxcx",
         phone: ctyptoUtil.AesEncode(phone),
         sceneType: "register",
       };
@@ -247,7 +247,7 @@ const LoginBox = forwardRef((props, ref) => {
       return;
     }
     let obj = {
-      channelCode: channelCode || "hrhj001",
+      channelCode: channelCode || "hrqbxcx",
       phone: ctyptoUtil.AesEncode(phone),
       sceneType: "register",
       uctrackid: "",