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