aa
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/common"
|
||||
|
||||
"git.rosy.net.cn/baseapi/platformapi/ebaiapi"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
@@ -141,3 +142,21 @@ func (c *SysController) GetVendorOrgCode() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 修改平台账号信息
|
||||
// @Description 修改平台账号信息
|
||||
// @Param token header string true "token"
|
||||
// @Param id formData int true "ID"
|
||||
// @Param payload formData string true "json数据,vendorOrgCode对象()"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /UpdateVendorOrgCode [post]
|
||||
func (c *SysController) UpdateVendorOrgCode() {
|
||||
c.callUpdateVendorOrgCode(func(params *tSysUpdateVendorOrgCodeParams) (retVal interface{}, errCode string, err error) {
|
||||
payload := make(map[string]interface{})
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &payload); err == nil {
|
||||
err = common.UpdateVendorOrgCode(params.Ctx, params.Id, payload)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user