|
@@ -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)
|
|
|
+// }
|
|
|
//}
|
|
|
|
|
|
// 生成研选专栏分享到朋友圈的图片
|