ApiController.go 528 B

12345678910111213141516171819202122232425262728
  1. package partial
  2. import (
  3. "git.qianqiusoft.com/qianqiusoft/light-apiengine/entitys"
  4. )
  5. // _ApiDoc
  6. // @Title _ApiDoc
  7. // @Description api文档
  8. // @Param sys string false "是否包含用户管理相关接口"
  9. // @Success 200 {object} models.Account
  10. // @Failure 403 :id is empty
  11. func Api_ApiDoc(c *entitys.CtrlContext) {
  12. sys := c.Ctx.Param(":sys")
  13. ret := __none_func_api__(sys)
  14. if ret{
  15. //c.Ctx.String(200,"")
  16. c.Ctx.HTML(200, "api.tpl","")
  17. }
  18. }
  19. func __none_func_api__(params ... interface{}) bool{
  20. return true
  21. }