Authored by tanling

中文转码

@@ -185,8 +185,8 @@ public class AlipayCrossBorderService extends AbstractAlipayService { @@ -185,8 +185,8 @@ public class AlipayCrossBorderService extends AbstractAlipayService {
185 params.put("merchant_customs_code", getMerchantCustomsCode()); 185 params.put("merchant_customs_code", getMerchantCustomsCode());
186 params.put("amount", String.valueOf(amount)); 186 params.put("amount", String.valueOf(amount));
187 params.put("customs_place", getCustomsPlace()); 187 params.put("customs_place", getCustomsPlace());
188 - params.put("merchant_customs_name", getMerchantCustomsName());  
189 - params.put("buyer_name", certName); 188 + params.put("merchant_customs_name", URLEncoder.encode(getMerchantCustomsName()));
  189 + params.put("buyer_name", URLEncoder.encode(certName));
190 params.put("buyer_id_no", certNo); 190 params.put("buyer_id_no", certNo);
191 191
192 String preSignStr = getOpenApiSignString(params, true); 192 String preSignStr = getOpenApiSignString(params, true);