浏览代码

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

lcl 1 年之前
父节点
当前提交
22a8f0d816
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Areas/Api/Controllers/PartOrderController.cs

+ 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();