浏览代码

释放退款接口

lcl 1 年之前
父节点
当前提交
3c76b9afda
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      AppStart/Helper/Profit/ProfitHelper.cs

+ 2 - 2
AppStart/Helper/Profit/ProfitHelper.cs

@@ -267,8 +267,8 @@ namespace MySystem
                                                         SeoKeyword = suborder.PayMoney.ToString(),
                                                     }).Entity;
                                                     db.SaveChanges();
-                                                    // MerchantAddInfo merchantAdd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == suborder.MerchantId) ?? new MerchantAddInfo();
-                                                    // Dictionary<string, string> dic = WeChatFunction.Instance.Refund(merchantAdd.SubMchid, GetMoney, suborder.PayMoney, suborder.OrderNo, DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8));                                             
+                                                    MerchantAddInfo merchantAdd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == suborder.MerchantId) ?? new MerchantAddInfo();
+                                                    Dictionary<string, string> dic = WeChatFunction.Instance.Refund(merchantAdd.SubMchid, GetMoney, suborder.PayMoney, suborder.OrderNo, DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8));
                                                     if (suborder.CurDivi < suborder.MaxDivi)
                                                     {
                                                         RedisDbconn.Instance.AddList("ConsumerOrders:Divi:" + PayMode + ":" + MerchantId, suborder);