Browse Source

feat:P570 userlist代码调整

fuwencai 11 months ago
parent
commit
acf6d453ec
2 changed files with 21 additions and 3 deletions
  1. 3 3
      service/message_mail_box.go
  2. 18 0
      test/p570.http

+ 3 - 3
service/message_mail_box.go

@@ -234,7 +234,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 		   				a.timestamp,
 		   				b.nickname,
 		   				0 as unread,
-		   				b.headimg,
+		   				b.head_img as headimg,
 						"" as phone,
 						0 as userType
 	   				FROM
@@ -248,8 +248,8 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
 		   				c.timestamp,
 		   				b.nickname,
 		   				a.unread,
-		   				b.headimg,
-						b.phone,
+		   				b.head_img as headimg,
+						"" as phone,
 						0 as userType
 	   				FROM
 		   				socialize_customer_service_user a

+ 18 - 0
test/p570.http

@@ -0,0 +1,18 @@
+POST http://localhost:8888/message/userList
+Content-Type: application/json
+Cookie: SESSIONID=612143932161d8f95b58e64c6c96fd0e02338547;
+newUserId:73679
+appId: 10000
+entId: 14929
+
+{
+  "phone": "",
+  "startTime": "",
+  "endTime": "",
+  "userType": 1,
+  "isArtificial": 0,
+  "page": 1,
+  "size": 100,
+  "filtrationId": "",
+  "isTourist": 2
+}