Browse Source

no message

xingzai 11 months ago
parent
commit
11e9091162
1 changed files with 10 additions and 1 deletions
  1. 10 1
      services/html2Img.go

+ 10 - 1
services/html2Img.go

@@ -67,7 +67,16 @@ func Html2ImgHttpPost(url, postData string, params ...string) ([]byte, error) {
 }
 
 //func init() {
-//	MakeYanxuanSpecialMomentsImg(185)
+//	//MakeYanxuanSpecialMomentsImg(185)
+//	var condition string
+//	var pars []interface{}
+//	condition += ` AND a.status = 3 `
+//
+//	list, err := models.GetYanxuanSpecialList(0, condition, pars, 0, 999)
+//	fmt.Println(err)
+//	for _, v := range list {
+//		MakeYanxuanSpecialMomentsImg(v.Id)
+//	}
 //}
 
 // 生成研选专栏分享到朋友圈的图片