修修改所有get参数,新增redis监听订单等功能

This commit is contained in:
hupeng
2020-02-28 15:26:15 +08:00
parent 62701dc741
commit b2754e5560
89 changed files with 782 additions and 630 deletions

View File

@ -0,0 +1,27 @@
package co.yixiang.constant;
/**
* 商城统一常量
* @author hupeng
* @since 2020-02-27
*/
public interface ShopConstants {
/**
* 订单自动取消时间(分钟)
*/
long ORDER_OUTTIME_UNPAY = 30;
/**
* 订单自动收货时间(天)
*/
long ORDER_OUTTIME_UNCONFIRM = 7;
/**
* redis订单未付款key
*/
String REDIS_ORDER_OUTTIME_UNPAY = "order:unpay:";
/**
* redis订单收货key
*/
String REDIS_ORDER_OUTTIME_UNCONFIRM = "order:unconfirm:";
}