系统接口
小于 1 分钟
系统接口
官方文档https://github.com/domaindrivendev/Swashbuckle.AspNetCore
默认系统接口访问地址:http://localhost:8888/swagger/index.html
关闭登录验证码
打开系统管理 -> 参数设置 -> 找到 验证码开关 -> 设置成 off
登录
授权 token

注意
输入 token 的时候不要少了前面的Bearer
加空格
访问接口

swagger 中隐藏接口
比如项目中有些接口不想在 swagger 中看到
[ApiExplorerSettings(IgnoreApi = true)]
public class PayController : BaseController
{
}