Browse Source

feat:xiugai

wangchuanjin 2 months ago
parent
commit
554b91fb79
2 changed files with 2 additions and 2 deletions
  1. 1 1
      config.yaml
  2. 1 1
      main.go

+ 1 - 1
config.yaml

@@ -26,7 +26,7 @@ template:
   caiProjectSize: 10
   purchasingSize: 2
   winnerSize: 2
-  detailLen: 400
+  detailLen: 40000
   captureAppend: ""
   htmlBody: "<section style=\"font-size: 15px;letter-spacing: 2px;line-height: 3.5em;color: rgb(80, 84, 86)\">%s</section>"
   htmlTopImg: "<section style=\"text-align: center;\"><img src=\"https://mmbiz.qpic.cn/mmbiz_jpg/vww3GXJpnUWBOpqCTFdUXQ0YtXbcgVSwmartCdF8rUibgAa5f1S4dLlKwKhhJ149Qvz1ficFH93opno2zB77FEMg/640\"></section>"

+ 1 - 1
main.go

@@ -227,7 +227,7 @@ func addDraft(startTime, endTime int64) {
 			winner, _ := v_baseinfo["winner"].(string)
 			bdo.Winners.Add(winner)
 			//
-			detail := filterHtml(gconv.String(v_baseinfo["details"]))
+			detail := filterHtml(gconv.String(v_baseinfo["projectscope"]))
 			newDetail := detailCapture(detail)
 			if detail != newDetail {
 				newDetail += g.Config().MustGet(ctx, "template.captureAppend").String()