add vip ExpiryTime

This commit is contained in:
liangzai 2025-04-15 23:30:36 +08:00
parent 214e087197
commit 15a258efc2
3 changed files with 17 additions and 14 deletions

View File

@ -68,6 +68,7 @@ type (
region string `json:"region"`
mobile string `json:"mobile"`
wechatID string `json:"wechat_id"`
expiryTime string `json:"expiry_time"`
}
// 查询代理申请状态响应
AgentAuditStatusResp {

View File

@ -71,6 +71,7 @@ func (l *GetAgentInfoLogic) GetAgentInfo() (resp *types.AgentInfoResp, err error
Status: 1,
Region: agent.Region,
Mobile: agent.Mobile,
ExpiryTime: agent.MembershipExpiryTime.Time.Format("2006-01-02 15:04:05"),
WechatID: lzUtils.NullStringToString(agent.WechatId),
}, nil
}

View File

@ -59,6 +59,7 @@ type AgentInfoResp struct {
Region string `json:"region"`
Mobile string `json:"mobile"`
WechatID string `json:"wechat_id"`
ExpiryTime string `json:"expiry_time"`
}
type AgentMembershipProductConfigReq struct {