lcl 2 жил өмнө
parent
commit
f134cd5d7d

+ 1 - 1
AppStart/Helper/OrderRefundService.cs

@@ -45,7 +45,7 @@ namespace MySystem
                             if(order.PayMode == 1)
                             {
                                 PublicAccountSet set = db.PublicAccountSet.FirstOrDefault() ?? new PublicAccountSet();
-                                string result = new Alipay.AlipayPublicMethod().Refund(set.AlipayAppId, set.AlipayPrivateKey, set.AlipayPublicKey, DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), Amount);
+                                string result = new Alipay.AlipayPublicMethod().Refund(set.AlipayAppId, set.AlipayPrivateKey, set.AlipayPublicKey, order.OrderNo, Amount);
                             }
                             else if(order.PayMode == 3)
                             {