feat: 新增账号编码和HTTP连接功能
This commit is contained in:
28
model/dto/account_user_dialog_dto.go
Normal file
28
model/dto/account_user_dialog_dto.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package dto
|
||||
|
||||
type AddAccountUserDialogReq struct {
|
||||
AccountId int64 `json:"accountId" v:"required#accountId不能为空" dc:"客服id"`
|
||||
UserId string `json:"userId" v:"required#userId不能为空" dc:"用户id"`
|
||||
DialogCount int64 `json:"dialogCount" v:"required#dialogCount不能为空" dc:"对话次数"`
|
||||
}
|
||||
|
||||
type UpdateAccountUserDialogReq struct {
|
||||
Id int64 `json:"id" v:"required#id不能为空"`
|
||||
DialogCount int64 `json:"dialogCount" v:"required#dialogCount不能为空" dc:"对话次数"`
|
||||
}
|
||||
|
||||
type DeleteAccountUserDialogReq struct {
|
||||
Id int64 `json:"id" v:"required#id不能为空"`
|
||||
}
|
||||
|
||||
type GetAccountUserDialogReq struct {
|
||||
AccountId int64 `json:"accountId" v:"required#accountId不能为空" dc:"客服id"`
|
||||
UserId string `json:"userId" v:"required#userId不能为空" dc:"用户id"`
|
||||
}
|
||||
|
||||
type AccountUserDialogVO struct {
|
||||
Id int64 `json:"id,string" dc:"id"`
|
||||
AccountId int64 `json:"accountId,string" dc:"客服id"`
|
||||
UserId string `json:"userId" dc:"用户id"`
|
||||
DialogCount int64 `json:"dialogCount" dc:"对话次数"`
|
||||
}
|
||||
Reference in New Issue
Block a user