From 8945ac4b1c0a1f5e040a5c75e6ae630ba2b32f99 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 13 九月 2022 20:23:55 +0800
Subject: [PATCH] App设备点检获取单号修改接口, 开发委外表表 开发班组工资报表查询接口
---
VueWebApi/Controllers/ProductModelController.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/VueWebApi/Controllers/ProductModelController.cs b/VueWebApi/Controllers/ProductModelController.cs
index 26a4d52..9c6cdf3 100644
--- a/VueWebApi/Controllers/ProductModelController.cs
+++ b/VueWebApi/Controllers/ProductModelController.cs
@@ -15,6 +15,7 @@
[RoutePrefix(prefix: "api/ProductModel")]
[ControllerGroup("鍒堕�犳ā鍨�", "鍦ㄧ嚎鎺ュ彛")]
+ [ChannelActionFilter]
public class ProductModelController : ApiController
{
//瀹氫箟鍏ㄥ眬淇℃伅杩斿洖鍙橀噺
@@ -282,14 +283,15 @@
/// 瀛樿揣妗f鍏宠仈宸ヨ壓璺嚎鎻愪氦
/// </summary>
/// <param name="partcode">鐗╂枡缂栫爜</param>
+ /// <param name="defaultroute_code">榛樿宸ヨ壓璺嚎缂栫爜</param>
/// <param name="json">鎻愪氦鏁版嵁瀵硅薄</param>
/// <returns></returns>
[Route(template: "SaveInventoryFile")]
[HttpPost]
- public HttpResponseMessage SaveInventoryFile(string partcode, List<ObjectData> json)
+ public HttpResponseMessage SaveInventoryFile(string partcode, List<ObjectData> json, string defaultroute_code = null)
{
var username = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); //鎿嶄綔浜哄憳
- mes = ProductModelBLL.SaveInventoryFile(partcode, username, json);
+ mes = ProductModelBLL.SaveInventoryFile(partcode, defaultroute_code, username, json);
return TJson.toJson(mes);
}
#endregion
--
Gitblit v1.9.3