|
@@ -226,7 +226,20 @@ func SendWxMsgSpecialAuthor(specialId, status int) (err error) {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -261,7 +274,13 @@ func UpdateYanxuanSpecialResourceData(sourceId int) {
|
|
|
err = errors.New("GetCygxReportSelectionBySourceAndId, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
- publishDate := time.Now().Format(utils.FormatDateTime)
|
|
|
+
|
|
|
+ detail, e := models.GetYanxuanSpecialBySpecialId(sourceId)
|
|
|
+ if e != nil {
|
|
|
+ err = errors.New("GetYanxuanSpecialBySpecialId, Err: " + e.Error())
|
|
|
+ return
|
|
|
+ }
|
|
|
+ publishDate := detail.PublishTime
|
|
|
item := new(models.CygxResourceData)
|
|
|
item.SourceId = sourceId
|
|
|
item.Source = source
|