调整 rsa 密钥解析函数
This commit is contained in:
@ -131,3 +131,26 @@ type DeleteStoreRewardReq struct {
|
||||
type DeleteStoreRewardRes struct {
|
||||
Success bool `json:"success" dc:"删除成功"`
|
||||
}
|
||||
|
||||
type RewardCallbackReq struct {
|
||||
g.Meta `path:"/reward/callback" method:"post" tags:"Reward" summary:"(系统)奖励回调"`
|
||||
UId string `json:"uid"`
|
||||
OrderId string `json:"order_id"`
|
||||
PrizeChannelId string `json:"prize_channel_id"`
|
||||
PrizeId string `json:"prize_id" v:"required|#券ID不能为空"`
|
||||
PrizeType uint32 `json:"prize_type"`
|
||||
PrizeSubType uint32 `json:"prize_sub_type"`
|
||||
Num uint32 `json:"num"`
|
||||
CustomInfo string `json:"custom_info"`
|
||||
}
|
||||
type RewardCallbackRes struct {
|
||||
ErrCode int32 `json:"errcode"` // 必填
|
||||
ErrMsg string `json:"errmsg"`
|
||||
Appid string `json:"appid"`
|
||||
OrderId string `json:"order_id"` // 必填
|
||||
Data []RewardCallbackData `json:"data"` // 必填
|
||||
}
|
||||
type RewardCallbackData struct {
|
||||
PrizeCode string `json:"prize_code"` // 必填
|
||||
Comment string `json:"comment"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user