+GetVendorOrgCodeInfo

This commit is contained in:
gazebo
2019-12-10 09:59:29 +08:00
parent 87e8aec310
commit ade9a674f4
3 changed files with 32 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils/datares"
"git.rosy.net.cn/jx-callback/business/msghub"
"git.rosy.net.cn/jx-callback/globals/api"
"git.rosy.net.cn/jx-callback/globals/api/apimanager"
"github.com/astaxie/beego"
)
@@ -330,3 +331,16 @@ func (c *CmsController) GetCityBankBranches() {
return retVal, "", err
})
}
// @Title 得到平台的账号信息
// @Description 得到平台的账号信息
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetVendorOrgCodeInfo [get]
func (c *CmsController) GetVendorOrgCodeInfo() {
c.callGetVendorOrgCodeInfo(func(params *tCmsGetVendorOrgCodeInfoParams) (retVal interface{}, errCode string, err error) {
retVal = apimanager.GetVendorOrgCodeMap(params.Ctx)
return retVal, "", err
})
}