从第三方获取用户优惠券

This commit is contained in:
2026-06-20 08:42:34 +08:00
parent df823119ed
commit 9e4f32a47c
10 changed files with 818 additions and 0 deletions

View File

@@ -100,6 +100,14 @@ public class LbThirdIntegrationConfig implements Serializable {
@Schema(description = "粉丝分页 limit")
private Integer fansPageLimit;
@TableField("money_coupon_list_path")
@Schema(description = "用户优惠券列表 API 路径")
private String moneyCouponListPath;
@TableField("money_coupon_list_limit")
@Schema(description = "用户优惠券列表分页 limit")
private Integer moneyCouponListLimit;
@TableField("order_referer")
@Schema(description = "订单 Referer")
private String orderReferer;

View File

@@ -0,0 +1,66 @@
package com.rj.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lb_user_coupon")
@Schema(description = "用户优惠券明细表")
public class LbUserCoupon implements Serializable {
private static final long serialVersionUID = 1L;
@TableId("id")
@Schema(description = "UUID")
private String id;
@TableField("tenant_id")
@Schema(description = "租户ID")
private String tenantId;
@TableField("user_id")
@Schema(description = "用户ID")
private String userId;
@TableField("user_phone")
@Schema(description = "用户手机号")
private String userPhone;
@TableField("user_nickname")
@Schema(description = "用户昵称")
private String userNickname;
@TableField("parent_phone")
@Schema(description = "用户上级手机号")
private String parentPhone;
@TableField("parent_nickname")
@Schema(description = "上级昵称")
private String parentNickname;
@TableField("coupon_amount")
@Schema(description = "优惠券金额")
private BigDecimal couponAmount;
@TableField("coupon_date")
@Schema(description = "优惠日期")
private LocalDate couponDate;
@TableField("create_time")
@Schema(description = "创建日期")
private LocalDateTime createTime;
@TableField("update_time")
@Schema(description = "修改日期")
private LocalDateTime updateTime;
}