6
0

Compare commits

..

No commits in common. "7f363e9428511749f522d09b0bc808003d5d705f" and "f72380130e1616b161e3411a35fd0a4eed6af31c" have entirely different histories.

View File

@ -14,7 +14,7 @@ import (
// 说明:切片为空表示不限定该条件;标量字符串为空时不参与筛选 // 说明:切片为空表示不限定该条件;标量字符串为空时不参与筛选
type GetUserLoginLogParam struct { type GetUserLoginLogParam struct {
Uid string `json:"uid"` Uid string `json:"uid"`
EventTime []string `json:"event_time"` // 区间 [开始, 结束] EventTime string `json:"event_time"` // 形如 "2026-06"
GameSign string `json:"game_sign"` GameSign string `json:"game_sign"`
ServerGroupId []string `json:"server_group_id"` ServerGroupId []string `json:"server_group_id"`
GameId string `json:"game_id"` GameId string `json:"game_id"`
@ -31,7 +31,7 @@ type GetUserLoginLogParam struct {
type GetUserLoginLogRequest struct { type GetUserLoginLogRequest struct {
*requests.JsonRequest *requests.JsonRequest
Uid string `position:"Json" field:"uid"` Uid string `position:"Json" field:"uid"`
EventTime []string `position:"Json" field:"event_time"` EventTime string `position:"Json" field:"event_time"`
GameSign string `position:"Json" field:"game_sign"` GameSign string `position:"Json" field:"game_sign"`
ServerGroupId []string `position:"Json" field:"server_group_id"` ServerGroupId []string `position:"Json" field:"server_group_id"`
GameId string `position:"Json" field:"game_id"` GameId string `position:"Json" field:"game_id"`
@ -50,7 +50,7 @@ type GetUserLoginLogRequest struct {
// - 标量字符串用 omitempty空串时不出现在 JSON 中,避免被 DMS 当成真实筛选条件。 // - 标量字符串用 omitempty空串时不出现在 JSON 中,避免被 DMS 当成真实筛选条件。
type getUserLoginLogBody struct { type getUserLoginLogBody struct {
Uid string `json:"uid,omitempty"` Uid string `json:"uid,omitempty"`
EventTime []string `json:"event_time"` EventTime string `json:"event_time,omitempty"`
GameSign string `json:"game_sign,omitempty"` GameSign string `json:"game_sign,omitempty"`
ServerGroupId []string `json:"server_group_id"` ServerGroupId []string `json:"server_group_id"`
GameId string `json:"game_id,omitempty"` GameId string `json:"game_id,omitempty"`
@ -67,7 +67,7 @@ type getUserLoginLogBody struct {
func (request *GetUserLoginLogRequest) GetBodyReader() io.Reader { func (request *GetUserLoginLogRequest) GetBodyReader() io.Reader {
body := getUserLoginLogBody{ body := getUserLoginLogBody{
Uid: request.Uid, Uid: request.Uid,
EventTime: emptyStrSlice(request.EventTime), EventTime: request.EventTime,
GameSign: request.GameSign, GameSign: request.GameSign,
ServerGroupId: emptyStrSlice(request.ServerGroupId), ServerGroupId: emptyStrSlice(request.ServerGroupId),
GameId: request.GameId, GameId: request.GameId,