正在显示
2 个修改的文件
包含
2 行增加
和
3 行删除
@@ -49,7 +49,7 @@ func init() { | @@ -49,7 +49,7 @@ func init() { | ||
49 | ), | 49 | ), |
50 | beego.NSNamespace("/auth", | 50 | beego.NSNamespace("/auth", |
51 | beego.NSRouter("/change_company", &controllers.AuthController{}, "post:ChangeCompany"), | 51 | beego.NSRouter("/change_company", &controllers.AuthController{}, "post:ChangeCompany"), |
52 | - beego.NSRouter("/refresh_token", &controllers.AuthController{}, "post:RefreshToken"), | 52 | + //beego.NSRouter("/refresh_token", &controllers.AuthController{}, "post:RefreshToken"), |
53 | beego.NSRouter("/me", &controllers.AuthController{}, "post:Me"), | 53 | beego.NSRouter("/me", &controllers.AuthController{}, "post:Me"), |
54 | ), | 54 | ), |
55 | beego.NSNamespace("/bulletin", | 55 | beego.NSNamespace("/bulletin", |
@@ -498,13 +498,12 @@ func UserDelete(userCompanyids []int64, companyid int64) error { | @@ -498,13 +498,12 @@ func UserDelete(userCompanyids []int64, companyid int64) error { | ||
498 | log.Error(e.Error()) | 498 | log.Error(e.Error()) |
499 | } | 499 | } |
500 | } | 500 | } |
501 | - | ||
502 | return nil | 501 | return nil |
503 | } | 502 | } |
504 | 503 | ||
505 | func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error) { | 504 | func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error) { |
506 | 505 | ||
507 | - datasql := `SELECT a.id as user_company_id,a.enable, b.phone,b.nick_name | 506 | + datasql := `SELECT a.id as user_company_id,a.enable, b.phone,a.nick_name |
508 | FROM user_company AS a | 507 | FROM user_company AS a |
509 | LEFT JOIN user AS b ON a.user_id = b.id | 508 | LEFT JOIN user AS b ON a.user_id = b.id |
510 | WHERE a.company_id=? AND a.delete_at = 0 ` | 509 | WHERE a.company_id=? AND a.delete_at = 0 ` |
-
请 注册 或 登录 后发表评论