Prechádzať zdrojové kódy

feat:p719 subscribepay调整

fuwencai 3 mesiacov pred
rodič
commit
32e28b979e

+ 7 - 7
src/jfw/modules/subscribepay/src/config.json

@@ -238,13 +238,13 @@
     "member": [
       {
         "name": "剑鱼标讯App",
-        "qrcode": "图片地址",
+        "qrcode": "https://www.jianyu360.cn/front/downloadJyApp/qr?page=pc_bottom&source=h5dh",
         "aText": "去下载",
-        "aLink": "https://www.jianyu360.cn/front/downloadapppage/weixin?source=dhm&code="
+        "aLink": "https://www.jianyu360.cn/front/downloadapppage/weixin?source=h5dh&code="
       },
       {
         "name": "剑鱼招标网小程序",
-        "qrcode": "图片地址",
+        "qrcode": "https://jy-applet.jianyu360.cn/debrisproduct/official/jyzbw.png",
         "text": "长按识别进入小程序"
       },
       {
@@ -256,20 +256,20 @@
     "other": [
       {
         "name": "剑鱼标讯公众号",
-        "qrcode": "图片地址",
+        "qrcode": "https://www.qmx.top/upload/2025/04/14/202504141703060048JIKuKjG.png",
         "text": "长按进入公众号",
         "remark": "如未绑定手机号,绑定兑换手机号即可"
       },
       {
         "name": "剑鱼招标网小程序",
-        "qrcode": "图片地址",
+        "qrcode": "https://jy-applet.jianyu360.cn/debrisproduct/official/jyzbw.png",
         "text": "长按识别进入小程序"
       },
       {
         "name": "剑鱼标讯App",
-        "qrcode": "图片地址",
+        "qrcode": "https://www.jianyu360.cn/front/downloadJyApp/qr?page=pc_bottom&source=h5dh",
         "aText": "去下载",
-        "aLink": "https://www.jianyu360.cn/front/downloadapppage/weixin?source=dhm&code="
+        "aLink": "https://www.jianyu360.cn/front/downloadapppage/weixin?source=h5dh&code="
       },
       {
         "name": "剑鱼标讯PC端",

+ 2 - 2
src/jfw/modules/subscribepay/src/entity/equityCode.go

@@ -1303,8 +1303,8 @@ func (e *EquityCode) InitUserInfo() error {
 		}
 		xcxPersonId := qu.Int64All((*baseUserRes)[0]["person_id"])
 		if xcxAccountRes := util.BaseMysql.SelectBySql(`select id from base_service.base_account where person_id=? and type=2 and miniprogram_code is null`, xcxPersonId); xcxAccountRes == nil || len(*xcxAccountRes) == 0 {
-			log.Println("InitUserInfo", e.Phone, "查询小程序公用的账户失败 xcxPersonId:", xcxPersonId)
-			return errors.New("查询用户信息失败")
+			log.Println("InitUserInfo", e.Phone, "查询小程序公用的账户失败 xcxPersonId:", xcxPersonId) // 说明用户没开通小程序账号
+			return nil
 		} else {
 			e.xcxAccountId = qu.IntAll((*xcxAccountRes)[0]["id"])
 		}