作者 tangxvhui

添加 路由 /common/department/list

@@ -78,6 +78,7 @@ func init() { @@ -78,6 +78,7 @@ func init() {
78 beego.NSRouter("/chance_type", &controllers.CommonController{}, "post:SelectorChanceType"), 78 beego.NSRouter("/chance_type", &controllers.CommonController{}, "post:SelectorChanceType"),
79 beego.NSRouter("/user", &controllers.CommonController{}, "post:SelectCompanyUserList"), 79 beego.NSRouter("/user", &controllers.CommonController{}, "post:SelectCompanyUserList"),
80 beego.NSRouter("/chance", &controllers.CommonController{}, "post:SelectChanceList"), 80 beego.NSRouter("/chance", &controllers.CommonController{}, "post:SelectChanceList"),
  81 + beego.NSRouter("/department/list", &controllers.CompanyController{}, "post:DepartmentList"),
81 ), 82 ),
82 beego.NSNamespace("/template", 83 beego.NSNamespace("/template",
83 beego.NSRouter("/add", &controllers.TemplateController{}, "post:TemplateAdd"), 84 beego.NSRouter("/add", &controllers.TemplateController{}, "post:TemplateAdd"),