mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-08-09 15:53:44 +08:00
修复余额不足仍可启动充电问题
统一启动金额优先级并在启动前校验会员余额。 同步完成订单创建和余额支付后再返回鉴权成功,并增加支付凭证补偿、异常停机和结算保护。
This commit is contained in:
@@ -78,6 +78,15 @@ public class CacheConstants {
|
||||
// 余额支付订单退款锁
|
||||
public static final String ORDER_BALANCE_PAYMENT_REFUND_LOCK = "order_balance_payment_refund_lock:";
|
||||
|
||||
// 订单支付凭证已校验标记
|
||||
public static final String ORDER_PAYMENT_READY = "order_payment_ready:";
|
||||
|
||||
// 订单支付异常补偿锁
|
||||
public static final String ORDER_PAYMENT_RECONCILE_LOCK = "order_payment_reconcile_lock:";
|
||||
|
||||
// 订单支付异常停机冷却标记
|
||||
public static final String ORDER_PAYMENT_ANOMALY_STOP = "order_payment_anomaly_stop:";
|
||||
|
||||
// 平台测试员
|
||||
public static final String PLATFORM_TESTER = "platform_tester:";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user