的
This commit is contained in:
parent
66770dd14b
commit
1b94273c24
@ -21,7 +21,7 @@ namespace YD_WeChatApplet.Api.Controllers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ai一体机扫描那登录
|
||||
/// Ai一体机扫描登录
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
|
@ -281,13 +281,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