瀏覽代碼

修改 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"`
 }