package models type OpenIdSetRequest struct { Code string `json:"code"` //微信code OpenId string `json:"openId"` //邀请好友的openId } type OpenIdSetResponse struct { SessionKey string `json:"session_key,omitempty"` OpenId string `json:"openid,omitempty"` Errcode int `json:"errcode,omitempty"` Errmsg string `json:"errmsg,omitempty"` } type GetUserScoreRequest struct { OpenId string `json:"openId"` } type SubUserScoreRequest struct { OpenId string `json:"openId"` Score int `json:"score"` //积分 Type int `json:"type"` //1-新用户 2-签到领取积分 3-看广告获取积分 4-邀请好友奖励积分 5-其他 6-下载图片 Des string `json:"des"` //描述 Num int `json:"num"` } type GetUserListRequest struct { OpenIdOne string `json:"openIdOne"` PageSize int `json:"pageSize"` PageIndex int `json:"pageIndex"` } type UpdateUserScoreRequest struct { AvatarUrl string `json:"avatarUrl"` NickName string `json:"nickName"` OpenId string `json:"openId"` }