Эх сурвалжийг харах

回调(好哒)地址增加类型参数

lcl 1 жил өмнө
parent
commit
22a8f0d816

+ 2 - 1
Areas/Api/Controllers/PartOrderController.cs

@@ -26,7 +26,8 @@ namespace MySystem.Areas.Api.Controllers.v1
 
 
         #region 分账回调(好哒)
-        public Dictionary<string, string> Notice()
+        [Route("/api/partorder/notice/{TypeName:minlength(4)}")]
+        public Dictionary<string, string> Notice(string TypeName)
         {
             StreamReader sr = new StreamReader(Request.Body);
             string requestMes = sr.ReadToEnd();