Explorar o código

Merge branch 'dev/v1.2.6_dx' of SocialPlatform/messageCenter into feature/v1.2.6

duxin %!s(int64=2) %!d(string=hai) anos
pai
achega
5364cbcb71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/message_mail_box.go

+ 1 - 1
service/message_mail_box.go

@@ -169,7 +169,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 			timeSql += fmt.Sprintf(" AND a.timestamp >= '%s'", in.StartTime)
 		}
 		if in.EndTime != "" {
-			timeSql += fmt.Sprintf(" AND a.timestamp =< '%s'", in.EndTime)
+			timeSql += fmt.Sprintf(" AND a.timestamp <= '%s'", in.EndTime)
 		}
 		if in.Phone != "" {
 			phoneSql = " AND b.phone  like '%" + in.Phone + "%'"