aa
This commit is contained in:
@@ -133,12 +133,13 @@ func (c *SysController) GetEbaiRTFDetail() {
|
||||
// @Param token header string true "token"
|
||||
// @Param vendorID query int false "平台ID"
|
||||
// @Param vendorOrgCode query string false "平台账号"
|
||||
// @Param vendorType query string false "平台账号类型"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetVendorOrgCode [get]
|
||||
func (c *SysController) GetVendorOrgCode() {
|
||||
c.callGetVendorOrgCode(func(params *tSysGetVendorOrgCodeParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal, err = common.GetVendorOrgCode(params.Ctx, params.VendorID, params.VendorOrgCode, model.VendorOrgTypePlatform)
|
||||
retVal, err = common.GetVendorOrgCode(params.Ctx, params.VendorID, params.VendorOrgCode, params.VendorType)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user