|
@@ -17,7 +17,7 @@ namespace MySystem
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- string reqUrl = "http://cs.mqlinks.com/txmsgpush/";
|
|
|
+ string reqUrl = "http://cs.mqlinks.com/txmsgpush";
|
|
|
|
|
|
public string doSomething(string DeviceId, string Amount)
|
|
|
{
|
|
@@ -27,7 +27,7 @@ namespace MySystem
|
|
|
Dictionary<string, object> data = new Dictionary<string, object>();
|
|
|
data.Add("cmd", "voice");
|
|
|
data.Add("msg", "来客吧收款" + Amount + "元");
|
|
|
- data.Add("msgid", function.get_Random(1, 999999));
|
|
|
+ data.Add("msgid", DateTime.Now.ToString("yyyyMMddHHmmssfff"));
|
|
|
Dictionary<string, object> map = new Dictionary<string, object>();
|
|
|
map.Add("sbx_id", DeviceId);
|
|
|
map.Add("agent_id", data);
|