Преглед на файлове

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