Explorar o código

播报传订单号

lcl hai 1 ano
pai
achega
11c1767d41
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Util/HaoDa/Alipay/AliIotFunction.cs

+ 2 - 1
Util/HaoDa/Alipay/AliIotFunction.cs

@@ -63,7 +63,7 @@ namespace MySystem
             "  \"biz_tid\":\"" + BizTid + "\"," +
             "  \"smid\":\"" + Smid + "\"," +
             "  \"trade_type\":\"" + TradeType + "\"," +
-            // "  \"trade_id\":\"5404dd23186a-4e62967a3bf0458cd3f4\"," +
+            "  \"trade_id\":\"" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8) + "\"," +
             "  \"amount\":\"" + Amount + "\"" +
             // "  \"msg_id\":\"202108020001101043\"" +
             "}";
@@ -74,6 +74,7 @@ namespace MySystem
             {
                 AlipayCommerceIotDeviceTradevoiceSendResponse response=client.Execute(request);
                 result = response.Body;
+                function.WriteLog(result + "\n\n", "到账播报");
             }
             catch (Exception ex)
             {