|
@@ -155,8 +155,8 @@ func HandleInsertRaiReport(raiReportId int) (err error) {
|
|
|
reportInfo.State = state
|
|
|
reportInfo.Content = html.EscapeString(articleResult.Content.Body)
|
|
|
reportInfo.ContentSub = html.EscapeString(contentSub)
|
|
|
- updateTime, _ := time.ParseInLocation(utils.FormatDateTime, articleResult.UpdateDate, time.Local)
|
|
|
- reportInfo.ModifyTime = updateTime
|
|
|
+
|
|
|
+ reportInfo.ModifyTime = articleResult.UpdateDate
|
|
|
|
|
|
|
|
|
updateCols := []string{"ClassifyIdFirst","ClassifyNameFirst","ClassifyIdSecond","ClassifyNameSecond","Title","Abstract","Author","Frequency","State","Content","ContentSub","ModifyTime","PublishTime"}
|
|
@@ -217,8 +217,8 @@ func HandleInsertRaiReport(raiReportId int) (err error) {
|
|
|
item.Stage = 0
|
|
|
item.ContentSub = html.EscapeString(contentSub)
|
|
|
item.CreateTime = time.Now().Format(utils.FormatDateTime)
|
|
|
- updateTime, _ := time.ParseInLocation(utils.FormatDateTime, articleResult.UpdateDate, time.Local)
|
|
|
- item.ModifyTime = updateTime
|
|
|
+
|
|
|
+ item.ModifyTime = articleResult.UpdateDate
|
|
|
item.ReportVersion = 2
|
|
|
item.AdminId = 0
|
|
|
item.AdminRealName = ""
|