Просмотр исходного кода

修改 UnreadMessageRequest 结构体

shizhongqi 10 месяцев назад
Родитель
Сommit
d23cff9433
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      external/request.go

+ 2 - 2
external/request.go

@@ -9,8 +9,8 @@ import (
 
 
 type UnreadMessageRequest struct {
-    Type string `json:"type"`
-    ShopId int32 `json:"id"`
+    Type string `json:"type"` // 向谁发的消息:shop(门店), customer(客户)
+    ShopId int32 `json:"shopId"`
 	UserId int32 `json:"userId"`
     MsgCount int `json:"msgCount"`
 }