duxin 1 месяц назад
Родитель
Сommit
245460d1b2
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      service/service.go

+ 3 - 2
service/service.go

@@ -390,14 +390,14 @@ func vipSetMap(orderData map[string]interface{}) (set map[string]interface{}, se
 	json.Unmarshal([]byte(common.ObjToString(orderData["filter"])), &vms)
 	set = map[string]interface{}{
 		"o_entniche": map[string]interface{}{
-			"i_trial": -1,                                              //已激活试用
+			"i_trial": -1,                                            //已激活试用
 			"o_area":  map[string]interface{}{"北京": []interface{}{}}, //设置地区
 			"o_buyset": map[string]interface{}{
 				"upgrade":         1,
 				"areacount":       vms.FinalAreaCount,
 				"newcitys":        []int{},
 				"buyerclasscount": -1,
-			},                               //购买内容 城市、省份、行业数量,                                  //购买内容 城市、省份、行业数量
+			}, //购买内容 城市、省份、行业数量,                                  //购买内容 城市、省份、行业数量
 			"a_buyerclass": []interface{}{}, //设置行业
 		},
 		"i_vip_expire_tip": 0, //消息提示初始化
@@ -431,6 +431,7 @@ func memberSetMap(userId, waitEmpowerId int64, orderData map[string]interface{})
 
 	//payCycle := common.IntAll((*filterMap)["cycle"])
 	serversId := common.ObjToString((*filterMap)["serviceIds"])
+	log.Println("111111111", userId, serversId)
 	startTime := common.ObjToString(orderData["service_starttime"])
 	endTime := common.ObjToString(orderData["service_endtime"])
 	tmp := "2006-01-02 15:04:05"