UI
This commit is contained in:
parent
345e1d0928
commit
c3a734e966
@ -441,7 +441,7 @@ namespace YD_WeChatApplet.Services
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 学员报告
|
/// 学员报告
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="classRoomRecordId"></param>
|
/// <param name="classRoomId"></param>
|
||||||
/// <param name="studentNo"></param>
|
/// <param name="studentNo"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<StudentClassRoomReportDto> StudentClassRoomReport(int classRoomId, string studentNo)
|
public async Task<StudentClassRoomReportDto> StudentClassRoomReport(int classRoomId, string studentNo)
|
||||||
|
@ -279,13 +279,13 @@ namespace YD_WeChatApplet
|
|||||||
//配置HttpContext
|
//配置HttpContext
|
||||||
app.UseStaticHttpContext();
|
app.UseStaticHttpContext();
|
||||||
|
|
||||||
app.UseSwagger();
|
//app.UseSwagger();
|
||||||
app.UseSwaggerUI(c =>
|
//app.UseSwaggerUI(c =>
|
||||||
{
|
//{
|
||||||
//2个下拉框选项 选择对应的文档
|
// //2个下拉框选项 选择对应的文档
|
||||||
c.SwaggerEndpoint("/swagger/v1/swagger.json", "YD_WeChatApplet.Api");
|
// c.SwaggerEndpoint("/swagger/v1/swagger.json", "YD_WeChatApplet.Api");
|
||||||
c.RoutePrefix = "";
|
// c.RoutePrefix = "";
|
||||||
});
|
//});
|
||||||
|
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
app.UseCors();
|
app.UseCors();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user