微信支付部分

This commit is contained in:
menxipeng
2025-11-26 22:40:03 +08:00
parent 30589acd69
commit 98565c9150
12 changed files with 500 additions and 231 deletions

View File

@@ -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;
}

View File

@@ -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 {