瀏覽代碼

添加分账结果推送入口

lcl 10 月之前
父節點
當前提交
9e8c285caa
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      Areas/Api/Controllers/PartOrderController.cs

+ 14 - 0
Areas/Api/Controllers/PartOrderController.cs

@@ -39,6 +39,20 @@ namespace MySystem.Areas.Api.Controllers.v1
         }
         #endregion
 
+        #region 分账结果回调(好哒)
+        [Route("/api/partorder/resultnotice")]
+        public Dictionary<string, string> ResultNotice()
+        {
+            StreamReader sr = new StreamReader(Request.Body);
+            string requestMes = sr.ReadToEnd();
+            function.WriteLog(DateTime.Now.ToString() + "\n" + requestMes + "\r\n\r\n", "分账结果回调(好哒)");
+            RedisDbconn.Instance.AddList("PartOrderResultQueue", requestMes);
+            Dictionary<string, string> dic = new Dictionary<string, string>();
+            dic.Add("resultCode", "1");
+            return dic;
+        }
+        #endregion
+
 
 
     }