From ea79dd023ae2785d301e88b8133c0d5f553674cb Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期日, 31 八月 2025 21:59:02 +0800
Subject: [PATCH] 1.库位查询组织权限区分 2.PDA多组织切换
---
Controllers/LoginController.cs | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/Controllers/LoginController.cs b/Controllers/LoginController.cs
index 19ca7d3..4e76314 100644
--- a/Controllers/LoginController.cs
+++ b/Controllers/LoginController.cs
@@ -134,4 +134,32 @@
return ResponseResult.ResponseError(ex);
}
}
+
+
+ /// <summary>
+ /// 鍒囨崲缁勭粐
+ /// </summary>
+ /// <param name="model"></param>
+ /// <returns></returns>
+ [HttpPost("changeOrg")]
+ public ResponseResult changeOrg([FromBody] dynamic model)
+ {
+ //鐧诲綍
+ try
+ {
+ dynamic resultInfos = new ExpandoObject();
+ var tbBillList = new LoginService().changeOrg(model);
+ resultInfos.tbBillList = tbBillList;
+ return new ResponseResult
+ {
+ status = 0,
+ message = "OK",
+ data = resultInfos
+ };
+ }
+ catch (Exception ex)
+ {
+ return ResponseResult.ResponseError(ex);
+ }
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3