Browse Source

.gitignore

zhangjq 6 years ago
parent
commit
5a0b61b31a
2 changed files with 4 additions and 6 deletions
  1. 0 1
      .gitignore
  2. 4 5
      controllers/gen/SystemController_gen.go

+ 0 - 1
.gitignore

@@ -1,5 +1,4 @@
 *.go_new
-light-apiengine
 go_build_light-apiengine
 output
 .idea

+ 4 - 5
controllers/gen/SystemController_gen.go

@@ -73,11 +73,10 @@ func (c *SystemController) GetMenuTree(ctx *gin.Context) {
 
 // FindUserPage
 // @Title FindUserPage
-// @Description 获取用户分布数据         
-// @Param	page      false  "分页参数"  
+// @Description          
 // @Success 200 {object} models.Account
 // @Failure 403 :id is empty
-// @router /find_user_page  [post,get]
+// @router /find_user_page  [get,post]
 func (c *SystemController) FindUserPage(ctx *gin.Context) {
 	//
     db:=c.apiengine.BusinessOrmEngine[ctx.GetString("domain")]
@@ -86,10 +85,10 @@ func (c *SystemController) FindUserPage(ctx *gin.Context) {
 
 // GetOrgTree
 // @Title GetOrgTree
-// @Description 获取组织架构树         
+// @Description          
 // @Success 200 {object} models.Account
 // @Failure 403 :id is empty
-// @router /get_org_tree  [post,get]
+// @router /get_org_tree  [get,post]
 func (c *SystemController) GetOrgTree(ctx *gin.Context) {
 	//
     db:=c.apiengine.BusinessOrmEngine[ctx.GetString("domain")]