17 lines
554 B
Go
17 lines
554 B
Go
package response
|
|
|
|
// MiniLoginResponse 小程序登录响应
|
|
type MiniLoginResponse struct {
|
|
OpenID string `json:"openid"` // 用户openid
|
|
UnionID *string `json:"unionid"` // 用户unionid
|
|
UserID *uint `json:"userId,omitempty"` // 关联的系统用户ID
|
|
}
|
|
|
|
// PageResult 分页结果
|
|
type PageResult struct {
|
|
List interface{} `json:"list"` // 数据列表
|
|
Total int64 `json:"total"` // 总数
|
|
Page int `json:"page"` // 当前页
|
|
PageSize int `json:"pageSize"` // 每页数量
|
|
}
|