Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
9fe91c86
Commit
9fe91c86
authored
May 08, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增测试方法
parent
be0f7ed1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
LoginController.cs
Edu.WebApi/Controllers/User/LoginController.cs
+20
-1
No files found.
Edu.WebApi/Controllers/User/LoginController.cs
View file @
9fe91c86
...
...
@@ -8,6 +8,7 @@ using Edu.Model.ViewModel.Course;
using
Edu.Model.ViewModel.System
;
using
Edu.Model.ViewModel.User
;
using
Edu.Module.Course
;
using
Edu.Module.EduTask
;
using
Edu.Module.Public
;
using
Edu.Module.System
;
using
Edu.Module.User
;
...
...
@@ -54,7 +55,12 @@ namespace Edu.WebApi.Controllers.User
/// 部门处理类对象
/// </summary>
private
readonly
DepartmentModule
departmentModule
=
new
DepartmentModule
();
/// <summary>
/// 转班订单处理类对象
/// </summary>
private
static
readonly
OrderChangeModule
orderChangeModule
=
new
OrderChangeModule
();
[
HttpGet
]
[
HttpPost
]
[
AllowAnonymous
]
...
...
@@ -77,6 +83,19 @@ namespace Edu.WebApi.Controllers.User
return
ApiResult
.
Success
();
}
/// <summary>
/// 更新订单转班
/// </summary>
/// <returns></returns>
[
HttpGet
]
[
HttpPost
]
[
AllowAnonymous
]
public
ApiResult
TestTrans
()
{
orderChangeModule
.
GetChangeOrderListModule
();
return
ApiResult
.
Success
();
}
/// <summary>
/// 用户登录
/// </summary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment