...
|
...
|
@@ -22,6 +22,10 @@ func init() { |
|
|
beego.NSRouter("/delete", &controllers.CompanyController{}, "post:DepartmentDelete"),
|
|
|
beego.NSRouter("/user", &controllers.CompanyController{}, "post:DepartmentUser"),
|
|
|
),
|
|
|
beego.NSNamespace("/company",
|
|
|
beego.NSRouter("/current/edit", &controllers.CompanyController{}, "post:CurrentCompanyEdit"),
|
|
|
beego.NSRouter("/current/info", &controllers.CompanyController{}, "post:CurrentCompanyInfo"),
|
|
|
),
|
|
|
beego.NSNamespace("position",
|
|
|
beego.NSRouter("/list", &controllers.CompanyController{}, "post:PositionList"),
|
|
|
beego.NSRouter("/add", &controllers.CompanyController{}, "post:PositionAdd"),
|
...
|
...
|
|