1234567891011121314151617181920212223242526272829303132 |
- package main
- import (
- "rtzh_elec_temperature/bootstrap"
- _ "rtzh_elec_temperature/enum"
- _ "rtzh_elec_temperature/routers"
- )
- // ***************** 请严格按swagger格式编写接口注释,并注册路由***************
- // ***************** 重新生成api接口文档,终端运行生成命令:bee run -gendoc=true -downdoc=true ***************
- // ***************** 如果生成swagger文档时失败,可运行bee generate docs生成,可查看详情生成过程 ***************
- // @title 电力测温项目API
- // @version 1.0
- // @description 电力测温项目接口文档。本文档仅用于本项目的前端接口说明
- // @termsOfService http://swagger.io/terms/
- // @contact.name liling
- // @contact.url http://www.swagger.io/support
- // @contact.email 3116246@qq.com
- // @license.name none
- // @license.url -
- // @host localhost:6019
- // @BasePath /api/
- // @securityDefinitions.token token AUTH
- func main() {
- bootstrap.Run()
- }
|