|
@@ -55,6 +55,9 @@ public class OrderPayOpsServiceImpl implements OrderPayOpsService {
|
|
|
PaymentParam payParam = new PaymentParam(amount, orderNo, payChannel, returnUrl,
|
|
|
orderSubject, orderBody, sign, code, platform);
|
|
|
log.info("executePayment >>>>> {}", JSON.toJSONString(payParam));
|
|
|
+ if (payParam.getAmount() == null) {
|
|
|
+ throw new Exception("PaymentParam query is null");
|
|
|
+ }
|
|
|
//签名验证
|
|
|
checkSing(payParam);
|
|
|
|