1、完善积分充值

2、升级积分扣除机制
3、优化部分代码
This commit is contained in:
2024-03-28 14:43:36 +08:00
parent 737ec594fd
commit 7d967ed41e
12 changed files with 142 additions and 59 deletions

View File

@@ -0,0 +1,10 @@
package com.ai.da.common.constant;
public class CommonConstant {
// 单位 秒 一天过期
public static final Long TASK_EXPIRE_TIME = 24 * 60 * 60L;
// 单位 秒 两天过期
public static final Long CREDITS_EXPIRE_TIME = 2 * 24 * 60 * 60L;
// 单位 分钟
public static final Integer MINIO_IMAGE_EXPIRE_TIME = 24 * 60;
}

View File

@@ -2,9 +2,6 @@ package com.ai.da.common.constant;
public class PayPalCheckoutConstant {
// public static String MODE = "sandbox";
public static String MODE = "live";
public static final String CAPTURE = "CAPTURE";
/**
* 该标签将覆盖PayPal网站上PayPal帐户中的公司名称
@@ -168,12 +165,6 @@ public class PayPalCheckoutConstant {
public final static String CMD_NOTIFY_VALIDATE = "_notify-validate";
// public final static String WEBHOOK_ID = "31797347YC028794L";
// kim-sandbox
// public final static String WEBHOOK_ID = "1WH327112B602422N";
// kim-live
public final static String WEBHOOK_ID = "41L14847MC833625B";
public final static String PAYPAL_TOKEN_KEY = "PayPalAccessToken";