Commit 9fe91c86 authored by 黄奎's avatar 黄奎

新增测试方法

parent be0f7ed1
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment