|
|
@@ -69,7 +69,7 @@ public class SandPayService {
|
|
|
}
|
|
|
|
|
|
public String convertAmount(BigDecimal amount) {
|
|
|
- DecimalFormat df = new DecimalFormat("000000000000", DecimalFormatSymbols.getInstance(Locale.US));
|
|
|
+ DecimalFormat df = new DecimalFormat("0000000000", DecimalFormatSymbols.getInstance(Locale.US));
|
|
|
return df.format(amount.multiply(new BigDecimal("100")));
|
|
|
}
|
|
|
|
|
|
@@ -143,7 +143,7 @@ public class SandPayService {
|
|
|
return "alipays://platformapi/startapp?saId=10000007&qrcode=" + res.getJSONObject("body")
|
|
|
.getString("qrCode");
|
|
|
}
|
|
|
- throw new BusinessException("绿洲宇宙冷却系统已启动,请稍后支付");
|
|
|
+ throw new BusinessException("斑马冷却系统已启动,请稍后支付");
|
|
|
}
|
|
|
|
|
|
public JSONObject requestAlipayRaw(String orderId, BigDecimal amount, String subject, String desc,
|