@@ -189,7 +189,8 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
switch in.QueryType {
case 1: //分享列表
allSql = strings.Join(append(sqlArr, oneSql, groupSql), " UNION ALL ")
- case 2: //历史会话列表
+ default:
+ //历史会话列表
allSql = strings.Join(append(sqlArr, oneSql, groupSql, serviceSql), " UNION ALL ")
}
sqlStr = fmt.Sprintf(`SELECT * FROM(