mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-24 16:05:08 +08:00
1. 会员用户,增加 point 积分字段
2. 增加获得优惠劵、收藏数量的 API 接口
This commit is contained in:
@ -5,6 +5,7 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
||||
import static cn.hutool.core.util.ArrayUtil.firstMatch;
|
||||
|
||||
@ -55,6 +56,18 @@ public enum TradeAfterSaleStatusEnum implements IntArrayValuable {
|
||||
|
||||
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(TradeAfterSaleStatusEnum::getStatus).toArray();
|
||||
|
||||
/**
|
||||
* 进行中的售后状态
|
||||
*
|
||||
* 不包括已经结束的状态
|
||||
*/
|
||||
public static final Collection<Integer> APPLYING_STATUSES = Arrays.asList(
|
||||
APPLY.getStatus(),
|
||||
SELLER_AGREE.getStatus(),
|
||||
BUYER_DELIVERY.getStatus(),
|
||||
WAIT_REFUND.getStatus()
|
||||
);
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
|
Reference in New Issue
Block a user