Ver código fonte

更新

master
huangjiajun 1 ano atrás
pai
commit
cb245a4d0b
1 arquivos alterados com 33 adições e 0 exclusões
  1. +33
    -0
      card_pay/card_pay.go

+ 33
- 0
card_pay/card_pay.go Ver arquivo

@@ -170,3 +170,36 @@ func ApplyStore(keyArr, param map[string]string) (string, error) {
//}
return CardPayApplySend("api/cust/SP/Merchant/apply", keyArr, param)
}
func ApplyStoreQuery(keyArr, param map[string]string) (string, error) {
//paperMap := map[string]string{
// "contactPerson": "黄加价", //联系人姓名
// "contactPhone": "15217160422", //联系人手机号码
// "shortName": "测试", //商户简称
// "merchantType": "3", //:个人(小微);
//
// "lawyerCertType": "0", //证件类型
// "lawyerCertNo": "440421199508298123", //证件号码
// "lawyerCertPhotoFront": "", //证件正面照
// "lawyerCertPhotoBack": "", //证件背面照
// "certificateName": "黄加价", //证件人姓名
// "certificateFrom": "", //证件效期(起始)yyyymmdd
// "certificateTo": "", //证件效期(截止):yyyymmdd,无限期填写“长期”
// "legalPersonPhone": "15217160422", //法人手机号码
// "settleTarget": "1", //结算方式 1:自动提现; 2:手动提现
// "settleAccountType": "2", //结算账户类型 1:对公账户 2:法人账户 3:授权对公 4:授权对私
// "settleAccountNo": "6214830201234567", //结算账户号
// "settleAccount": "黄加价", //结算账户名
// "openBank": "中国银行", //开户银行
//}
//paper := zhios_third_party_utils.SerializeStr(paperMap)
//param = map[string]string{
// "version": "2.0",
// "acqSpId": CustomerCode,
// "merId": "123",
// "backUrl": "",
// "merchantName": "测试123",
// "paper": paper,
// "acceptOrder": "0",
//}
return CardPayApplySend("api/cust/SP/Merchant/query", keyArr, param)
}

Carregando…
Cancelar
Salvar