8
0

Revert "dms运营中心调整修改"

This reverts commit 47651781d5.
This commit is contained in:
luoxun 2026-06-10 14:38:54 +08:00
parent 47651781d5
commit 973679f614
2 changed files with 21 additions and 21 deletions

View File

@ -11,7 +11,7 @@ import (
) )
// GetRoleCreateLogParam 角色创建日志查询参数 // GetRoleCreateLogParam 角色创建日志查询参数
// 说明:等级区间用 *int64、金额区间用 *float64(金额带小数),未设置(nil)时不参与筛选;切片为空表示不限定该条件 // 说明:数值区间用 *int64,未设置(nil)时不参与筛选;切片为空表示不限定该条件
type GetRoleCreateLogParam struct { type GetRoleCreateLogParam struct {
Uid string `json:"uid"` Uid string `json:"uid"`
EventTime []string `json:"event_time"` // 区间 [开始, 结束] EventTime []string `json:"event_time"` // 区间 [开始, 结束]
@ -23,8 +23,8 @@ type GetRoleCreateLogParam struct {
ServerId string `json:"server_id"` ServerId string `json:"server_id"`
RoleLevelMin *int64 `json:"role_level_min"` RoleLevelMin *int64 `json:"role_level_min"`
RoleLevelMax *int64 `json:"role_level_max"` RoleLevelMax *int64 `json:"role_level_max"`
PayAmtAccMin *float64 `json:"pay_amt_acc_min"` PayAmtAccMin *int64 `json:"pay_amt_acc_min"`
PayAmtAccMax *float64 `json:"pay_amt_acc_max"` PayAmtAccMax *int64 `json:"pay_amt_acc_max"`
Page int `json:"page"` Page int `json:"page"`
PageSize int `json:"page_size"` PageSize int `json:"page_size"`
XDebug string `json:"x_debug"` // 测试环境调试头,正式调用可留空 XDebug string `json:"x_debug"` // 测试环境调试头,正式调用可留空
@ -43,8 +43,8 @@ type GetRoleCreateLogRequest struct {
ServerId string `position:"Json" field:"server_id"` ServerId string `position:"Json" field:"server_id"`
RoleLevelMin *int64 `position:"Json" field:"role_level_min"` RoleLevelMin *int64 `position:"Json" field:"role_level_min"`
RoleLevelMax *int64 `position:"Json" field:"role_level_max"` RoleLevelMax *int64 `position:"Json" field:"role_level_max"`
PayAmtAccMin *float64 `position:"Json" field:"pay_amt_acc_min"` PayAmtAccMin *int64 `position:"Json" field:"pay_amt_acc_min"`
PayAmtAccMax *float64 `position:"Json" field:"pay_amt_acc_max"` PayAmtAccMax *int64 `position:"Json" field:"pay_amt_acc_max"`
Page int `position:"Json" field:"page"` Page int `position:"Json" field:"page"`
PageSize int `position:"Json" field:"page_size"` PageSize int `position:"Json" field:"page_size"`
Authorization string `position:"Header" field:"Authorization"` Authorization string `position:"Header" field:"Authorization"`
@ -66,8 +66,8 @@ type getRoleCreateLogBody struct {
ServerId string `json:"server_id,omitempty"` ServerId string `json:"server_id,omitempty"`
RoleLevelMin *int64 `json:"role_level_min,omitempty"` RoleLevelMin *int64 `json:"role_level_min,omitempty"`
RoleLevelMax *int64 `json:"role_level_max,omitempty"` RoleLevelMax *int64 `json:"role_level_max,omitempty"`
PayAmtAccMin *float64 `json:"pay_amt_acc_min,omitempty"` PayAmtAccMin *int64 `json:"pay_amt_acc_min,omitempty"`
PayAmtAccMax *float64 `json:"pay_amt_acc_max,omitempty"` PayAmtAccMax *int64 `json:"pay_amt_acc_max,omitempty"`
Page int `json:"page"` Page int `json:"page"`
PageSize int `json:"page_size"` PageSize int `json:"page_size"`
} }

View File

@ -11,7 +11,7 @@ import (
) )
// GetUserProfileParam 用户筛选/圈选查询参数 // GetUserProfileParam 用户筛选/圈选查询参数
// 说明:金额类筛选用 *float64(DMS 金额带小数),未设置(nil)时不参与筛选;切片为空表示不限定该条件 // 说明:金额类筛选用 *int64,未设置(nil)时不参与筛选;切片为空表示不限定该条件
type GetUserProfileParam struct { type GetUserProfileParam struct {
UserName []string `json:"user_name"` UserName []string `json:"user_name"`
UserName2 []string `json:"user_name2"` UserName2 []string `json:"user_name2"`
@ -28,10 +28,10 @@ type GetUserProfileParam struct {
RegisterDate []string `json:"register_date"` // 区间 [开始, 结束] RegisterDate []string `json:"register_date"` // 区间 [开始, 结束]
LastLoginDate []string `json:"last_login_date"` // 区间 [开始, 结束] LastLoginDate []string `json:"last_login_date"` // 区间 [开始, 结束]
LastPayDate []string `json:"last_pay_date"` // 区间 [开始, 结束] LastPayDate []string `json:"last_pay_date"` // 区间 [开始, 结束]
PayAmtAccMin *float64 `json:"pay_amt_acc_min"` PayAmtAccMin *int64 `json:"pay_amt_acc_min"`
PayAmtAccMax *float64 `json:"pay_amt_acc_max"` PayAmtAccMax *int64 `json:"pay_amt_acc_max"`
LastPayAmountMin *float64 `json:"last_pay_amount_min"` LastPayAmountMin *int64 `json:"last_pay_amount_min"`
LastPayAmountMax *float64 `json:"last_pay_amount_max"` LastPayAmountMax *int64 `json:"last_pay_amount_max"`
Page int `json:"page"` Page int `json:"page"`
PageSize int `json:"page_size"` PageSize int `json:"page_size"`
XDebug string `json:"x_debug"` // 测试环境调试头,正式调用可留空 XDebug string `json:"x_debug"` // 测试环境调试头,正式调用可留空
@ -55,10 +55,10 @@ type GetUserProfileRequest struct {
RegisterDate []string `position:"Json" field:"register_date"` RegisterDate []string `position:"Json" field:"register_date"`
LastLoginDate []string `position:"Json" field:"last_login_date"` LastLoginDate []string `position:"Json" field:"last_login_date"`
LastPayDate []string `position:"Json" field:"last_pay_date"` LastPayDate []string `position:"Json" field:"last_pay_date"`
PayAmtAccMin *float64 `position:"Json" field:"pay_amt_acc_min"` PayAmtAccMin *int64 `position:"Json" field:"pay_amt_acc_min"`
PayAmtAccMax *float64 `position:"Json" field:"pay_amt_acc_max"` PayAmtAccMax *int64 `position:"Json" field:"pay_amt_acc_max"`
LastPayAmountMin *float64 `position:"Json" field:"last_pay_amount_min"` LastPayAmountMin *int64 `position:"Json" field:"last_pay_amount_min"`
LastPayAmountMax *float64 `position:"Json" field:"last_pay_amount_max"` LastPayAmountMax *int64 `position:"Json" field:"last_pay_amount_max"`
Page int `position:"Json" field:"page"` Page int `position:"Json" field:"page"`
PageSize int `position:"Json" field:"page_size"` PageSize int `position:"Json" field:"page_size"`
Authorization string `position:"Header" field:"Authorization"` Authorization string `position:"Header" field:"Authorization"`
@ -66,7 +66,7 @@ type GetUserProfileRequest struct {
} }
// getUserProfileBody 自定义请求体序列化结构,绕开 core 的反射序列化(JsonParams) // getUserProfileBody 自定义请求体序列化结构,绕开 core 的反射序列化(JsonParams)
// - 金额字段 *float64 + omitempty未设置(nil)时该字段不出现在 JSON 中,避免 0 被 DMS 当成真实筛选条件;支持小数; // - 金额字段 *int64 + omitempty未设置(nil)时该字段不出现在 JSON 中,避免 0 被 DMS 当成真实筛选条件;
// - 切片字段统一为非 nil 空数组 []:避免 nil 被序列化成 null 触发 DMS 类型校验失败。 // - 切片字段统一为非 nil 空数组 []:避免 nil 被序列化成 null 触发 DMS 类型校验失败。
type getUserProfileBody struct { type getUserProfileBody struct {
UserName []string `json:"user_name"` UserName []string `json:"user_name"`
@ -84,10 +84,10 @@ type getUserProfileBody struct {
RegisterDate []string `json:"register_date"` RegisterDate []string `json:"register_date"`
LastLoginDate []string `json:"last_login_date"` LastLoginDate []string `json:"last_login_date"`
LastPayDate []string `json:"last_pay_date"` LastPayDate []string `json:"last_pay_date"`
PayAmtAccMin *float64 `json:"pay_amt_acc_min,omitempty"` PayAmtAccMin *int64 `json:"pay_amt_acc_min,omitempty"`
PayAmtAccMax *float64 `json:"pay_amt_acc_max,omitempty"` PayAmtAccMax *int64 `json:"pay_amt_acc_max,omitempty"`
LastPayAmountMin *float64 `json:"last_pay_amount_min,omitempty"` LastPayAmountMin *int64 `json:"last_pay_amount_min,omitempty"`
LastPayAmountMax *float64 `json:"last_pay_amount_max,omitempty"` LastPayAmountMax *int64 `json:"last_pay_amount_max,omitempty"`
Page int `json:"page"` Page int `json:"page"`
PageSize int `json:"page_size"` PageSize int `json:"page_size"`
} }