feat: 接入商务用户资料和全局统计偏好
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package dto
|
||||
|
||||
type UserPreferenceRequest struct {
|
||||
IncludeSubPromote *bool `json:"includeSubPromote"`
|
||||
IDCardDedup *bool `json:"idcardDedup"`
|
||||
}
|
||||
|
||||
type UserPreferenceResponse struct {
|
||||
IncludeSubPromote bool `json:"includeSubPromote"`
|
||||
IDCardDedup bool `json:"idcardDedup"`
|
||||
}
|
||||
@@ -73,6 +73,13 @@ type SwitchAuthorityRequest struct {
|
||||
}
|
||||
|
||||
type UserResponse struct {
|
||||
Level int `json:"level"`
|
||||
ParentID uint `json:"parentId"`
|
||||
IDPath string `json:"idPath"`
|
||||
RealName string `json:"realName"`
|
||||
QQNumber string `json:"qqNumber"`
|
||||
BusinessStatus int `json:"businessStatus"`
|
||||
RejectReason string `json:"rejectReason"`
|
||||
ID uint `json:"ID"`
|
||||
CreatedAt time.Time `json:"CreatedAt"`
|
||||
UpdatedAt time.Time `json:"UpdatedAt"`
|
||||
|
||||
Reference in New Issue
Block a user