很多业务逻辑还没有写,先完善功能,再写业务逻辑
This commit is contained in:
parent
991ab454f1
commit
7d42794b17
@ -27,5 +27,4 @@ pay:
|
||||
privateKeyPath: classpath:pay/wx/apiclient_key.pem
|
||||
merchantId: merchantId
|
||||
merchantSerialNumber: merchantSerialNumber
|
||||
|
||||
notifyUrl: http://e2vca6.natappfree.cc/pay/wechat/notify
|
||||
|
@ -195,9 +195,11 @@ public class SQBServiceImpl implements ISqbPayService {
|
||||
JSONObject retObj = JSON.parseObject(result);
|
||||
String resCode = retObj.get("result_code").toString();
|
||||
if (!"200".equals(resCode)) {
|
||||
return null;
|
||||
throw new ServiceException("查询支付订单失败");
|
||||
} else {
|
||||
JSONObject response = retObj.getJSONObject("biz_response");
|
||||
System.out.println(response);
|
||||
}
|
||||
// String responseStr = retObj.get("biz_response").toString();
|
||||
return payOrder;
|
||||
} catch (Exception e) {
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user