...
|
...
|
@@ -8,8 +8,6 @@ import ( |
|
|
//外部调用,企业平台,总后台调用
|
|
|
func init() {
|
|
|
nsPlatform := beego.NewNamespace("/platform",
|
|
|
// TODO 增加修改手机号动作
|
|
|
beego.NSRouter("/api/business/index", &controllers.SyncDataController{}, "Post:SyncData"),
|
|
|
//同步企业相关数据
|
|
|
beego.NSRouter("/action", &controllers.SyncDataController{}, "post:SyncData"),
|
|
|
//更换公司管理员
|
...
|
...
|
@@ -20,6 +18,9 @@ func init() { |
|
|
//beego.NSRouter("/company/info", &controllers.SyncDataController{}, "post:GetCompanyInfo"),
|
|
|
)
|
|
|
|
|
|
// 修改手机号,企业平台调用
|
|
|
beego.Router("/api/business/index", &controllers.SyncDataController{}, "Post:SyncData")
|
|
|
|
|
|
beego.AddNamespace(nsPlatform) //企业平台调用
|
|
|
beego.AddNamespace(nsUcenter) //统一用户中心调用
|
|
|
} |
...
|
...
|
|