|
@@ -77,12 +77,8 @@ func (l *GetViewStatusLogic) GetViewStatus(in *bxsubscribe.GetViewStatusReq) (*b
|
|
|
da.Isvisit = common.Int64All(v["isvisit"])
|
|
|
visittime := common.InterfaceToStr(v["visittime"])
|
|
|
date := common.Int64All(v["date"])
|
|
|
- if visittime != "" {
|
|
|
- visittime = strings.Replace(visittime, " ", "\n", -1)
|
|
|
- }
|
|
|
if date > 0 {
|
|
|
- dateTime := time.Unix(date, 0).Format("2006-01-02 15:04:05")
|
|
|
- da.Date = strings.Replace(dateTime, " ", "\n", -1)
|
|
|
+ da.Date = time.Unix(date, 0).Format("2006-01-02 15:04:05")
|
|
|
}
|
|
|
da.Visittime = visittime
|
|
|
da.Id = common.Int64All(userid)
|