- 应答的状态码不为200-299。status code[404]?
this.appId = WXContent.APPID; this.mchId = WXContent.mchId; this.apiV3Key = WXContent.apiV3Key; this.merchantSerialNumber = WXContent.merchantSerialNumber; this.timeStamp = System.currentTimeMillis() / 1000; this.nonceStr = createNonceStr(); // 初始化HttpUrl this.httpurl = HttpUrl.parse("https://api.mch.weixin.qq.com/v3/certificates"); // 加载商户私钥(privateKey:私钥字符串) // merchantPrivateKey = PemUtil.loadPrivateKey(new ByteArrayInputStream(privateKey.getBytes("utf-8"))); // 加载商户私钥 merchantPrivateKey = getPrivateKeys(WXContent.privateKey); PrivateKeySigner privateKeySigner = new PrivateKeySigner(merchantSerialNumber, merchantPrivateKey); WechatPay2Credentials wechatPay2Credentials = new WechatPay2Credentials(mchId, privateKeySigner); byte[] apiV3Bytes = apiV3Key.getBytes(StandardCharsets.UTF_8); // 加载平台证书(mchId:商户号,mchSerialNo:商户证书序列号,apiV3Key:V3秘钥) verifier = new AutoUpdateCertificatesVerifier(wechatPay2Credentials, apiV3Bytes); // 初始化httpClient httpClient = WechatPayHttpClientBuilder.create() .withMerchant(mchId, merchantSerialNumber, merchantPrivateKey) .withValidator(new WechatPay2Validator(verifier)).build();
11-11 - 微信开放平台的应用需要修改名称
https://developers.weixin.qq.com/doc/oplatform/Mobile_App/FAQ/Required_Developer_Knowledge.html 请问微信开放平台的应用需要修改名称,这个如何修改,谢谢
2020-04-02