code: private Map<String, String> buildPayParams(PayDetail payDetail, Service service){
  
          Map<String, String> payParams = new HashMap<>();
  
          // 配置参数
          payParams.putAll(alipay.payConfig);
  
          // 业务参数
          payParams.put(AlipayField.SERVICE.field(), service.value());
  
          checkNotNullAndEmpty(payDetail.getOutTradeNo(), "outTradeNo");
          payParams.put(AlipayField.OUT_TRADE_NO.field(), payDetail.getOutTradeNo());
  
          checkNotNullAndEmpty(payDetail.getOrderName(), "orderName");
          payParams.put(AlipayField.SUBJECT.field(), payDetail.getOrderName());
  
          checkNotNullAndEmpty(payDetail.getTotalFee(), "totalFee");
          payParams.put(AlipayField.TOTAL_FEE.field(), payDetail.getTotalFee());
  
          putIfNotEmpty(payParams, AlipayField.NOTIFY_URL, payDetail.getNotifyUrl());
          putIfNotEmpty(payParams, AlipayField.RETURN_URL, payDetail.getReturnUrl());
  
          return payParams;
      }
docs: 构建支付公共参数
  @param payDetail 字段
  @param service 服务接口
  @return PC和WAP公共支付参数