|
@@ -1,6 +1,13 @@
|
|
package model
|
|
package model
|
|
|
|
|
|
type (
|
|
type (
|
|
|
|
+ ProductCommonParam struct {
|
|
|
|
+ ProductCode string `json:"product_code"` //产品code
|
|
|
|
+ Phone string `json:"phone"` //开通手机号
|
|
|
|
+ Amount string `json:"amount"` //合同金额
|
|
|
|
+ Tactics int //策略 1仅购买 2仅赠送 3购买+赠送
|
|
|
|
+ }
|
|
|
|
+
|
|
OrderParams struct {
|
|
OrderParams struct {
|
|
OrderStatus int `form:"order_status" json:"orderStatus,omitempty"` // 订单状态 0 未完成 1 已完成
|
|
OrderStatus int `form:"order_status" json:"orderStatus,omitempty"` // 订单状态 0 未完成 1 已完成
|
|
BuySubject string `form:"buySubject" json:"buySubject"` // 购买主体 1 个人, 2公司
|
|
BuySubject string `form:"buySubject" json:"buySubject"` // 购买主体 1 个人, 2公司
|
|
@@ -69,23 +76,20 @@ type (
|
|
SupServiceId []string `json:"supServiceId,omitempt"` // 补充服务 服务id
|
|
SupServiceId []string `json:"supServiceId,omitempt"` // 补充服务 服务id
|
|
}
|
|
}
|
|
|
|
|
|
- //CreateVipParams 超级订阅
|
|
|
|
- CreateVipParams struct {
|
|
|
|
|
|
+ //SubVipParams 超级订阅
|
|
|
|
+ SubVipParams struct {
|
|
|
|
+ *ProductCommonParam
|
|
ProductType string `json:"productType,omitempty"` //产品类型
|
|
ProductType string `json:"productType,omitempty"` //产品类型
|
|
BillingMode string `json:"billingMode"` //策略 购买 赠送
|
|
BillingMode string `json:"billingMode"` //策略 购买 赠送
|
|
RecordPayType string `form:"recordPayType" json:"recordPayType,omitempty"` //付费类型 购买 续费 升级 试用
|
|
RecordPayType string `form:"recordPayType" json:"recordPayType,omitempty"` //付费类型 购买 续费 升级 试用
|
|
LinkedOrderId string `json:"linkedOrderId,omitempty"` //关联订单明细id
|
|
LinkedOrderId string `json:"linkedOrderId,omitempty"` //关联订单明细id
|
|
- ProductStandard int `json:"productStandard"` //产品规格 购买省份数量
|
|
|
|
- PAccountNumber int `json:"pAccountNumber"` //主账号数量
|
|
|
|
SPayAccountNumber int `json:"sPayAccountNumber"` //子账号付费数量
|
|
SPayAccountNumber int `json:"sPayAccountNumber"` //子账号付费数量
|
|
SGiftAccountNumber int `json:"sGiftAccountNumber"` //子账号赠送数量
|
|
SGiftAccountNumber int `json:"sGiftAccountNumber"` //子账号赠送数量
|
|
PayCycle int `json:"payCycle"` //付费购买周期
|
|
PayCycle int `json:"payCycle"` //付费购买周期
|
|
- PayCycleType int `json:"payCycleType"` //付费周期类型:0-月 1-天
|
|
|
|
|
|
+ PayCycleType int `json:"payCycleType"` //付费周期类型:0-月 1-天 2-年 3-季
|
|
GifCycle int `json:"gifCycle"` //赠送周期
|
|
GifCycle int `json:"gifCycle"` //赠送周期
|
|
- GifCycleType int `json:"gifCycleType"` //赠送周期类型:0-月 1-天
|
|
|
|
|
|
+ GifCycleType int `json:"gifCycleType"` //赠送周期类型:0-月 1-天 2-年 3-季
|
|
PaybackOpenServer bool `json:"paybackOpenServer,omitempty"` //是否全额回款开通
|
|
PaybackOpenServer bool `json:"paybackOpenServer,omitempty"` //是否全额回款开通
|
|
- Phone string `form:"phone" json:"phone,omitempty"` //开通手机号
|
|
|
|
- OrderMoney int `form:"orderMoney" json:"orderMoney,omitempty"` //标准售价
|
|
|
|
PayMoney int `form:"payMoney" json:"payMoney,omitempty"` //合同金额
|
|
PayMoney int `form:"payMoney" json:"payMoney,omitempty"` //合同金额
|
|
}
|
|
}
|
|
|
|
|