fix
This commit is contained in:
@@ -14,6 +14,10 @@ service main {
|
||||
@handler GetAgentPromotionQrcode
|
||||
get /promotion/qrcode (GetAgentPromotionQrcodeReq)
|
||||
|
||||
// 获取会员开通信息
|
||||
@handler GetMembershipInfo
|
||||
get /membership/info returns (GetMembershipInfoResp)
|
||||
|
||||
}
|
||||
|
||||
type (
|
||||
@@ -21,6 +25,32 @@ type (
|
||||
QrcodeType string `form:"qrcode_type"`
|
||||
QrcodeUrl string `form:"qrcode_url"`
|
||||
}
|
||||
|
||||
// 会员配置信息
|
||||
MembershipConfigInfo {
|
||||
Id int64 `json:"id"` // 主键
|
||||
LevelName string `json:"level_name"` // 会员级别名称
|
||||
Price float64 `json:"price"` // 会员年费
|
||||
ReportCommission float64 `json:"report_commission"` // 直推报告收益
|
||||
LowerActivityReward float64 `json:"lower_activity_reward"` // 下级活跃奖励金额
|
||||
NewActivityReward float64 `json:"new_activity_reward"` // 新增活跃奖励金额
|
||||
LowerStandardCount int64 `json:"lower_standard_count"` // 活跃下级达标个数
|
||||
NewLowerStandardCount int64 `json:"new_lower_standard_count"` // 新增活跃下级达标个数
|
||||
LowerWithdrawRewardRatio float64 `json:"lower_withdraw_reward_ratio"` // 下级提现奖励比例
|
||||
LowerConvertVipReward float64 `json:"lower_convert_vip_reward"` // 下级转化VIP奖励
|
||||
LowerConvertSvipReward float64 `json:"lower_convert_svip_reward"` // 下级转化SVIP奖励
|
||||
ExemptionAmount float64 `json:"exemption_amount"` // 免审核金额
|
||||
PriceIncreaseMax float64 `json:"price_increase_max"` // 提价最高金额
|
||||
PriceRatio float64 `json:"price_ratio"` // 提价区间收取比例
|
||||
PriceIncreaseAmount float64 `json:"price_increase_amount"` // 在原本成本上加价的金额
|
||||
}
|
||||
|
||||
// 获取会员开通信息响应
|
||||
GetMembershipInfoResp {
|
||||
NormalConfig MembershipConfigInfo `json:"normal_config"` // 普通代理配置
|
||||
VipConfig MembershipConfigInfo `json:"vip_config"` // VIP会员配置
|
||||
SvipConfig MembershipConfigInfo `json:"svip_config"` // SVIP会员配置
|
||||
}
|
||||
)
|
||||
// 代理服务基本类型定义
|
||||
type AgentProductConfig {
|
||||
|
||||
Reference in New Issue
Block a user