f
This commit is contained in:
@@ -9,6 +9,36 @@ type SubPortalRegisterCommand struct {
|
||||
InviteToken string `json:"invite_token" binding:"required"`
|
||||
}
|
||||
|
||||
// ListChildApiCallsCommand 下属 API 调用记录查询
|
||||
type ListChildApiCallsCommand struct {
|
||||
ParentUserID string
|
||||
ChildUserID string `form:"child_user_id" binding:"required"`
|
||||
Page int `form:"page"`
|
||||
PageSize int `form:"page_size"`
|
||||
TransactionID string `form:"transaction_id"`
|
||||
ProductName string `form:"product_name"`
|
||||
Status string `form:"status"`
|
||||
StartTime string `form:"start_time"`
|
||||
EndTime string `form:"end_time"`
|
||||
}
|
||||
|
||||
// ListSubordinatesCommand 下属列表查询
|
||||
type ListSubordinatesCommand struct {
|
||||
ParentUserID string
|
||||
Page int `form:"page"`
|
||||
PageSize int `form:"page_size"`
|
||||
Remark string `form:"remark"`
|
||||
Phone string `form:"phone"`
|
||||
CompanyName string `form:"company_name"`
|
||||
}
|
||||
|
||||
// UpdateSubordinateRemarkCommand 更新下属备注
|
||||
type UpdateSubordinateRemarkCommand struct {
|
||||
ParentUserID string
|
||||
ChildUserID string `json:"child_user_id" binding:"required"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
// CreateInvitationCommand 主账号创建邀请
|
||||
type CreateInvitationCommand struct {
|
||||
ParentUserID string
|
||||
|
||||
Reference in New Issue
Block a user