33333333333
This commit is contained in:
@@ -74,11 +74,7 @@ public class PayTrdV10Service implements PayTrdService {
|
|||||||
throw new ServiceException("调用支付失败");
|
throw new ServiceException("调用支付失败");
|
||||||
}
|
}
|
||||||
String payUrl = jsonObject.getJSONObject("data").getString("payUrl");
|
String payUrl = jsonObject.getJSONObject("data").getString("payUrl");
|
||||||
if(wx){
|
return PayReturnResp.createH5(payUrl);
|
||||||
return PayReturnResp.createH5(payUrl);
|
|
||||||
}else{
|
|
||||||
return PayReturnResp.createApp(payUrl);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
private boolean checkSuccess(JSONObject jsonObject) {
|
private boolean checkSuccess(JSONObject jsonObject) {
|
||||||
if(jsonObject == null){
|
if(jsonObject == null){
|
||||||
|
|||||||
Reference in New Issue
Block a user