微信支付部分
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
|
||||
@@ -14,7 +15,7 @@ public class ShopUserResq {
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
|
||||
private String phone;
|
||||
|
||||
private Long userId;
|
||||
@@ -28,4 +29,6 @@ public class ShopUserResq {
|
||||
private String deviceId;
|
||||
|
||||
private String token;
|
||||
@Excel(name = "1 vip 2 非vip")
|
||||
private Long vip;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class MusicUtil {
|
||||
}
|
||||
|
||||
// 处理跨越日期的情况(结束时间早于开始时间)
|
||||
if (startDate != null && endDate.before(startDate)) {
|
||||
if (endDate.before(startDate)) {
|
||||
// 当前时间 >= 开始时间 或 当前时间 <= 结束时间
|
||||
return now.after(startDate) || now.before(endDate) || now.equals(startDate) || now.equals(endDate);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user