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