1
This commit is contained in:
@@ -183,7 +183,7 @@ func (a *API) MerchantFeeQuery(customerNo string, productCode string) (*Merchant
|
||||
}
|
||||
|
||||
// MerchantFeeChange 商户费率信息变更
|
||||
func (a *API) MerchantFeeChange(param *FeeChangeReq, customerNo string) (int, string, error) {
|
||||
func (a *API) MerchantFeeChange(param *FeeChangeReq, customerNo string) (int64, string, error) {
|
||||
if customerNo == "" {
|
||||
return 0, "", fmt.Errorf("商户ID不能为空")
|
||||
}
|
||||
@@ -195,14 +195,12 @@ func (a *API) MerchantFeeChange(param *FeeChangeReq, customerNo string) (int, st
|
||||
return 0, "", err
|
||||
}
|
||||
|
||||
data := &FeeChangeResp{}
|
||||
data := &CahngePublic{}
|
||||
if err = utils.Map2StructByJson(result, data, false); err != nil {
|
||||
return 0, "", err
|
||||
}
|
||||
if data.StatusCodeValue != utils.Str2Int(BaseSuccess) {
|
||||
return 0, "", fmt.Errorf(data.StatusCode)
|
||||
}
|
||||
return data.Body.ReviewRelatedId, data.Body.Message, nil
|
||||
|
||||
return data.ReviewRelatedId, data.Message, nil
|
||||
}
|
||||
|
||||
// UpdateSettleInfo 修改用户结算信息(当param为空时,是查询,不为空时是变更)
|
||||
|
||||
Reference in New Issue
Block a user