|
@@ -15,9 +15,22 @@ type (
|
|
|
// 类型:1-微信 2-小程序 3-智能体
|
|
|
BotType *uint8 `json:"botType,optional"`
|
|
|
|
|
|
- CardInfo WxCardSimpleInfo `json:"cardInfo,optional"`
|
|
|
+ CardInfo WxCardSimpleInfo `json:"cardInfo,optional,omitempty"`
|
|
|
}
|
|
|
|
|
|
+ WxCardVisitReq {
|
|
|
+ BaseIDInfo
|
|
|
+
|
|
|
+ // user表ID
|
|
|
+ UserId *uint64 `json:"userId,optional"`
|
|
|
+
|
|
|
+ // 被访ID
|
|
|
+ BotId *uint64 `json:"botId,optional"`
|
|
|
+
|
|
|
+ // 类型:1-微信 2-小程序 3-智能体
|
|
|
+ BotType *uint8 `json:"botType,optional"`
|
|
|
+ }
|
|
|
+
|
|
|
WxCardVisitSingleInfo {
|
|
|
BaseIDInfo
|
|
|
|
|
@@ -88,11 +101,11 @@ service Wechat {
|
|
|
service Wechat {
|
|
|
// Create wx card visit information | 创建WxCardVisit
|
|
|
@handler createWxCardVisit
|
|
|
- post /wx_card_visit/create (WxCardVisitInfo) returns (BaseMsgResp)
|
|
|
+ post /wx_card_visit/create (WxCardVisitReq) returns (BaseMsgResp)
|
|
|
|
|
|
// Update wx card visit information | 更新WxCardVisit
|
|
|
@handler updateWxCardVisit
|
|
|
- post /wx_card_visit/update (WxCardVisitInfo) returns (BaseMsgResp)
|
|
|
+ post /wx_card_visit/update (WxCardVisitReq) returns (BaseMsgResp)
|
|
|
|
|
|
// Delete wx card visit information | 删除WxCardVisit信息
|
|
|
@handler deleteWxCardVisit
|