|
@@ -77,14 +77,15 @@ func (r *RaffleInfo) InsertDataOrder(tx *sql.Tx, jyPrize string) (orderCode stri
|
|
|
case strings.Contains(r.Prize.Name, "超级订阅"):
|
|
|
//TODO: 赋权限--VIP订阅
|
|
|
orderDetailMap = map[string]interface{}{
|
|
|
- "order_code": orderCode,
|
|
|
- "product_type": "VIP订阅",
|
|
|
- "original_price": originalPrice,
|
|
|
- "final_price": orderMoney,
|
|
|
- "product_code": util.JyOrderDetailCommonStruct.GetVipProductCode(areaCount),
|
|
|
- "tactics": 1, //1购买 2赠送
|
|
|
- "service_type": 1, //1:购买 2:续费 3:升级 4:试用
|
|
|
- "is_master": 1,
|
|
|
+ "order_code": orderCode,
|
|
|
+ "product_type": "VIP订阅",
|
|
|
+ "original_price": originalPrice,
|
|
|
+ "final_price": orderMoney,
|
|
|
+ "product_code": util.JyOrderDetailCommonStruct.GetVipProductCode(areaCount),
|
|
|
+ "tactics": 1, //1购买 2赠送
|
|
|
+ "service_type": 1, //1:购买 2:续费 3:升级 4:试用
|
|
|
+ "is_master": 1,
|
|
|
+ "is_service_open": 1,
|
|
|
"filter": gconv.String(g.Map{
|
|
|
"buy_cycle": cycleCount,
|
|
|
"buy_type": util.JyOrderDetailCommonStruct.VipUnitConvert(cycleUnit), // 类型 1天 2月 3年 4季度
|