# Functions
中断并输出.
绑定输入参数.
No description provided by the author
No description provided by the author
展示的分页.
api 监听地址.
app 包初始化,加载服务失败要panic cfg,logger 是系统要求强制加载的,其他服务可选.
No description provided by the author
环境.
No description provided by the author
No description provided by the author
loadCfg 从启动参数或者项目目录中查找并加载配置文件.
加载Db.
加载日志.
加载redis.
api 请求发生了panic 记入日志.
No description provided by the author
定义路由 gin.Engine 统一加warp.
正常输出.
带分页的输出结果 response.data 的结构.
根据token解析登陆用户.
err 为nil 即为成功.
返回错误, 带错误信息.
No description provided by the author
api 捕获异常.
中间件 捕获异常.
# Constants
No description provided by the author
No description provided by the author
服务列表.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
服务列表.
服务列表.
# Structs
.
登陆用户信息, 可根据业务需要扩充字段.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author