handle out of time
This commit is contained in:
59
src/main/java/com/peanut/config/Constants.java
Normal file
59
src/main/java/com/peanut/config/Constants.java
Normal file
@@ -0,0 +1,59 @@
|
||||
package com.peanut.config;
|
||||
|
||||
/**
|
||||
* @Description: 常量类
|
||||
* @Author: Cauchy
|
||||
* @CreateTime: 2023/10/10
|
||||
*/
|
||||
public class Constants {
|
||||
/**
|
||||
* 订单状态 - 待支付
|
||||
*/
|
||||
public static final String ORDER_STATUS_TO_BE_PAID = "0";
|
||||
/**
|
||||
* 订单状态 - 待发货
|
||||
*/
|
||||
public static final String ORDER_STATUS_TO_BE_SHIPPED = "1";
|
||||
/**
|
||||
* 订单状态 - 已发货
|
||||
*/
|
||||
public static final String ORDER_STATUS_SHIPPED = "2";
|
||||
/**
|
||||
* 订单状态 - 已发货
|
||||
*/
|
||||
public static final String ORDER_STATUS_FINISHED = "3";
|
||||
/**
|
||||
* 订单状态 - 交易失败
|
||||
*/
|
||||
public static final String ORDER_STATUS_FAIL = "4";
|
||||
/**
|
||||
* 订单状态 - 订单超时
|
||||
*/
|
||||
public static final String ORDER_STATUS_OUT_OF_TIME = "5";
|
||||
|
||||
/**
|
||||
* 支付方式 - 微信支付
|
||||
*/
|
||||
public static final String PAYMENT_METHOD_WECHAT_PAY = "1";
|
||||
/**
|
||||
* 支付方式 - 支付宝 - 支付宝支付
|
||||
*/
|
||||
public static final String PAYMENT_METHOD_ALI_PAY = "2";
|
||||
/**
|
||||
* 支付方式 - IOS 内购
|
||||
*/
|
||||
public static final String PAYMENT_METHOD_IOS = "3";
|
||||
/**
|
||||
* 支付方式 - 虚拟币支付
|
||||
*/
|
||||
public static final String PAYMENT_METHOD_VIRTUAL = "4";
|
||||
|
||||
/**
|
||||
* 购买方式 - 直接购买
|
||||
*/
|
||||
public static final String BUY_TYPE_REDIRECT = "0";
|
||||
/**
|
||||
* 购买方式 - 购物车
|
||||
*/
|
||||
public static final String BUY_TYPE_CART = "1";
|
||||
}
|
||||
Reference in New Issue
Block a user