|
@@ -117,5 +117,24 @@ namespace MySystem.Controllers
|
|
|
RedisDbconn.Instance.AddList("DataToDbQueue", content);
|
|
RedisDbconn.Instance.AddList("DataToDbQueue", content);
|
|
|
return "ok";
|
|
return "ok";
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public string prize()
|
|
|
|
|
+ {
|
|
|
|
|
+ List<string> list = new List<string>();
|
|
|
|
|
+ list.Add("LDN7HDQM024100912776|252167");
|
|
|
|
|
+ foreach(string sub in list)
|
|
|
|
|
+ {
|
|
|
|
|
+ string[] data = sub.Split('|');
|
|
|
|
|
+ function.GetWebRequest("http://logic-executor-api.kexiaoshuang.com/noauth/prize/pushbyone?n=QUEUE_KXS_HAODA_PRIZE_CONFIG_DIVISION&m={\"brand_id\":29,\"ext_field\":\"830_01\",\"pos_sn\":\"" + data[0] + "\",\"user_id\":" + data[1] + "}&ids=67");
|
|
|
|
|
+ }
|
|
|
|
|
+ // list = new List<string>();
|
|
|
|
|
+ // list.Add("LDN7HDQM024100912625|297660");
|
|
|
|
|
+ // foreach(string sub in list)
|
|
|
|
|
+ // {
|
|
|
|
|
+ // string[] data = sub.Split('|');
|
|
|
|
|
+ // function.GetWebRequest("http://logic-executor-api.kexiaoshuang.com/noauth/prize/pushbyone?n=QUEUE_KXS_HAODA_PRIZE_CONFIG_DIVISION&m={\"brand_id\":29,\"ext_field\":\"830_01\",\"pos_sn\":\"" + data[0] + "\",\"user_id\":" + data[1] + "}&ids=67");
|
|
|
|
|
+ // }
|
|
|
|
|
+ return "ok";
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|