소스 검색

修改 UnreadMessageRequest 结构体

shizhongqi 10 달 전
부모
커밋
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"`
 }