|
@@ -96,5 +96,24 @@ namespace MySystem.Areas.Api.Controllers
|
|
|
return obj;
|
|
|
}
|
|
|
#endregion
|
|
|
+
|
|
|
+ #region 接收好哒商户进件成功通知
|
|
|
+ [Route("/hd/notice/merchant")]
|
|
|
+ public Dictionary<string, object> merchant()
|
|
|
+ {
|
|
|
+ StreamReader sr = new StreamReader(Request.Body);
|
|
|
+ string requestMes = sr.ReadToEnd();
|
|
|
+ if (string.IsNullOrEmpty(requestMes))
|
|
|
+ {
|
|
|
+ return new Dictionary<string, object>();
|
|
|
+ }
|
|
|
+ LogHelper.Instance.WriteLog(DateTime.Now.ToString() + "\n" + Newtonsoft.Json.JsonConvert.SerializeObject(Request.Headers) + "#cut#" + requestMes, "接收好哒商户进件成功通知");
|
|
|
+ RedisDbconn.Instance.AddList("cache:hd:notice:merchant", Newtonsoft.Json.JsonConvert.SerializeObject(Request.Headers) + "#cut#" + requestMes);
|
|
|
+ Dictionary<string, object> obj = new Dictionary<string, object>();
|
|
|
+ // JsonData jsonObj = JsonMapper.ToObject(requestMes);
|
|
|
+ obj.Add("resultCode", "0");
|
|
|
+ return obj;
|
|
|
+ }
|
|
|
+ #endregion
|
|
|
}
|
|
|
}
|