| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package partial
- import (
- "git.qianqiusoft.com/qianqiusoft/light-apiengine/entitys"
- )
- // SSOClient
- // @Title _ApiDoc
- // @Description api文档
- // @Param sys string false "是否包含用户管理相关接口"
- // @Success 200 {object} models.Account
- // @Failure 403 :id is empty
- func SSOClient(c *entitys.CtrlContext) {
- sys := c.Ctx.Param(":sys")
- ret := __none_func_api__(sys)
- if ret{
- //c.Ctx.String(200,"")
- c.Ctx.HTML(200, "api.tpl","")
- }
- }
- // _ApiDoc
- // @Title _ApiDoc
- // @Description api文档
- // @Param sys string false "是否包含用户管理相关接口"
- // @Success 200 {object} models.Account
- // @Failure 403 :id is empty
- func SSOLogout(c *entitys.CtrlContext) {
- sys := c.Ctx.Param(":sys")
- ret := __none_func_api__(sys)
- if ret{
- //c.Ctx.String(200,"")
- c.Ctx.HTML(200, "api.tpl","")
- }
- }
- func __none_func_sso__(params ... interface{}) bool{
- return true
- }
|