浏览代码

Merge branch 'dev/v4.9.39_fu' of qmx/jy into feature/v4.9.39

fuwencai 1 年之前
父节点
当前提交
473c1085cc

+ 3 - 0
src/jfw/modules/publicapply/src/detail/config.json

@@ -153,5 +153,8 @@
       "doPool": 5,
       "waitPool": 5
     }
+  },
+  "active": {
+    "url": "https://mp.weixin.qq.com/s?__biz=Mzk0MjIyMzY2Nw==&mid=2247497302&idx=1&sn=a199495eae763f055a23056f66250ec7&chksm=c2c4ce0af5b3471cace36ae9922d57095f76642b828c2ba0765739e23b1893c3ccb0084c04dc#rd"
   }
 }

+ 3 - 0
src/jfw/modules/publicapply/src/detail/entity/config.go

@@ -12,6 +12,9 @@ type Config struct {
 	BidServices        []Service
 	RestrictionSwitch  bool
 	Restrictions       map[string]reqLimit
+	Active             struct { // p583 活动
+		Url string `json:"url"` // 推文地址
+	} `json:"active"`
 }
 
 type reqLimit struct {

+ 3 - 2
src/jfw/modules/publicapply/src/detail/service/service.go

@@ -5,6 +5,7 @@ import (
 	"app.yhyue.com/moapp/jybase/common"
 	"app.yhyue.com/moapp/jybase/encrypt"
 	"encoding/json"
+	"jy/src/jfw/modules/publicapply/src/detail/config"
 	"jy/src/jfw/modules/publicapply/src/detail/dao"
 	"jy/src/jfw/modules/publicapply/src/detail/entity"
 	"jy/src/jfw/modules/publicapply/src/detail/util"
@@ -172,10 +173,10 @@ func (d *Detail) MinBaseInfo() {
 		}
 		rs := struct {
 			*entity.BidInfo
-			bid string
+			WxUrl string `json:"wxUrl"`
 		}{
 			data,
-			encrypt.SE.EncodeString(bid),
+			config.Config.Active.Url,
 		}
 		return util.DataFormat(rs)
 	}()