|
@@ -229,6 +229,7 @@ func addPower(waitEmpowerId int64, identity *usercenter.Identity) {
|
|
orderId := common.Int64All((*data)["order_detail_id"])
|
|
orderId := common.Int64All((*data)["order_detail_id"])
|
|
orderData := JyMysql.FindOne(JyOrderDetail, map[string]interface{}{"id": orderId}, "", "")
|
|
orderData := JyMysql.FindOne(JyOrderDetail, map[string]interface{}{"id": orderId}, "", "")
|
|
if orderData != nil && len(*orderData) > 0 {
|
|
if orderData != nil && len(*orderData) > 0 {
|
|
|
|
+ (*orderData)["ent_id"] = (*waitData)["ent_id"]
|
|
(*orderData)["service_endtime"] = (*waitData)["end_time"]
|
|
(*orderData)["service_endtime"] = (*waitData)["end_time"]
|
|
(*orderData)["service_starttime"] = (*waitData)["start_time"]
|
|
(*orderData)["service_starttime"] = (*waitData)["start_time"]
|
|
productType := common.ObjToString((*orderData)["product_type"])
|
|
productType := common.ObjToString((*orderData)["product_type"])
|
|
@@ -395,14 +396,14 @@ func vipSetMap(orderData map[string]interface{}) (set map[string]interface{}, se
|
|
json.Unmarshal([]byte(common.ObjToString(orderData["filter"])), &vms)
|
|
json.Unmarshal([]byte(common.ObjToString(orderData["filter"])), &vms)
|
|
set = map[string]interface{}{
|
|
set = map[string]interface{}{
|
|
"o_entniche": map[string]interface{}{
|
|
"o_entniche": map[string]interface{}{
|
|
- "i_trial": -1, //已激活试用
|
|
|
|
|
|
+ "i_trial": -1, //已激活试用
|
|
"o_area": map[string]interface{}{"北京": []interface{}{}}, //设置地区
|
|
"o_area": map[string]interface{}{"北京": []interface{}{}}, //设置地区
|
|
"o_buyset": map[string]interface{}{
|
|
"o_buyset": map[string]interface{}{
|
|
"upgrade": 1,
|
|
"upgrade": 1,
|
|
"areacount": vms.FinalAreaCount,
|
|
"areacount": vms.FinalAreaCount,
|
|
"newcitys": []int{},
|
|
"newcitys": []int{},
|
|
"buyerclasscount": -1,
|
|
"buyerclasscount": -1,
|
|
- }, //购买内容 城市、省份、行业数量, //购买内容 城市、省份、行业数量
|
|
|
|
|
|
+ }, //购买内容 城市、省份、行业数量, //购买内容 城市、省份、行业数量
|
|
"a_buyerclass": []interface{}{}, //设置行业
|
|
"a_buyerclass": []interface{}{}, //设置行业
|
|
},
|
|
},
|
|
"i_vip_expire_tip": 0, //消息提示初始化
|
|
"i_vip_expire_tip": 0, //消息提示初始化
|