1
This commit is contained in:
@@ -241,7 +241,7 @@ func (a *API) UpdateSettleInfo(customerNo string, param *UpdateSettleInfoReq) (*
|
||||
}
|
||||
|
||||
// UpdateBaseInfo 商户基本信息变更
|
||||
func (a *API) UpdateBaseInfo(customerNo string, changeBaseMap *UpdateBaseInfoReq) (*FeeChangeResp, error) {
|
||||
func (a *API) UpdateBaseInfo(customerNo string, changeBaseMap *UpdateBaseInfoReq) (*CahngePublic, error) {
|
||||
if customerNo == "" {
|
||||
return nil, fmt.Errorf("商户ID不能为空")
|
||||
}
|
||||
@@ -253,7 +253,7 @@ func (a *API) UpdateBaseInfo(customerNo string, changeBaseMap *UpdateBaseInfoReq
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
data := &FeeChangeResp{}
|
||||
data := &CahngePublic{}
|
||||
if err = utils.Map2StructByJson(result, data, false); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
@@ -528,6 +528,11 @@ type FeeChangeResp struct {
|
||||
StatusCodeValue int `json:"statusCodeValue"`
|
||||
}
|
||||
|
||||
type CahngePublic struct {
|
||||
Message string `json:"message"`
|
||||
ReviewRelatedId int64 `json:"reviewRelatedId"` // 变更凭证id[变更结果可通过id进行查询]
|
||||
}
|
||||
|
||||
// UpdateSettleInfoReq 商户结算信息变更
|
||||
type UpdateSettleInfoReq struct {
|
||||
AccountKind string `json:"accountKind"` // 账户性质[57:对公 58:对私] body false string
|
||||
|
||||
Reference in New Issue
Block a user