This commit is contained in:
清晨
2025-04-08 16:37:17 +08:00
commit 0c9d340a05
1659 changed files with 170293 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package com.ruoyi.code;
/**
* 字典类型
* @author liwenlong
* @date 2023/2/11 15:36
*/
public class BuiltDictConstant {
/**
* 支付失效时间
*/
public static final String 支付失效时间 = "PAY_INVALID_TIME";
public static final String 是否直接分佣 = "IS_DIRECT";
public static final String 取消订单时间 = "CANCEL_ORDER";
public static final String 短信验证码间隔时间 = "RESEND_SMS_CODE_TIME";
}

View File

@@ -0,0 +1,241 @@
package com.ruoyi.code;
/**
* 字典类型
* @author liwenlong
* @date 2023/2/11 15:36
*/
public class DictConstant {
/**
* 默认头像
*/
public static final String 默认头像 = "DEFAULT_AVATAR";
/**
* 设计师默认昵称前缀
*/
public static final String SJS_name_pre = "SJS_name_pre";
/**
* 表现师默认昵称前缀
*/
public static final String BXS_name_pre = "BXS_name_pre";
/**
* 平台头像
*/
public static final String 官方头像 = "PLATFORM_AVATAR";
/**
* 提现手续费
*/
public static final String 提现手续费 = "WITHDRAWAL_COMM";
/**
* 推广员提现手续费
*/
public static final String 推广员提现手续费 = "SALE_WITHDRAWAL_COMM";
/**
* 提现日期
*/
public static final String 提现日期 = "WITHDRAWAL_DATE";
/**
* 论坛审核
*/
public static final String 帖子审核 = "POST_IS_PROCESS";
/**
* 质量评分占比
*/
public static final String 质量评分占比 = "quality_ratio";
/**
* 效率评分占比
*/
public static final String 效率评分占比 = "efficiency_ratio";
/**
* 服务评分占比
*/
public static final String 服务评分占比 = "service_ratio";
/**
* 平台设置比例系数
*/
public static final String 平台设置比例系数 = "scale";
/**
* 技术擅长领域
*/
public static final String 技术擅长领域 = "speciality_area";
/**
* 技术列表排序权重
*/
public static final String 技术列表排序权重 = "technology_sort";
/**
* 技术列表排序权重
*/
public static class TechnologySort {
/**
* 技术擅长领域
*/
public static final String 在线时长 = "online_duration";
/**
* 技术擅长领域
*/
public static final String 订单数量 = "order_number";
/**
* 技术擅长领域
*/
public static final String 订单金额 = "order_amount";
/**
* 技术擅长领域
*/
public static final String 好评率 = "good_rate";
}
/**
* 普通认证缴纳金额
*/
public static final String 普通认证缴纳金额 = "AUTH_AMOUNT";
/**
*酷家乐认证缴纳金额
*/
public static final String 酷家乐认证缴纳金额 = "KUJIALE_AUTH_AMOUNT";
/**
* 高端认证缴纳金额
*/
public static final String 高端认证缴纳金额 = "HIGHEND_AUTH_AMOUNT";
/**
* 注册赠送抵用金
*/
public static final String 注册赠送抵用金 = "register_send_balance";
/**
* 注册赠送抵用金
*/
public static final String 注册赠送积分 = "register_send_integral";
/**
* 订单相关
*/
public static class OrderDict {
/**
* 首款支付占比
*/
public static final String 首款支付占比 = "frist_pay_ratio";
/**
* 累计服务金额基数
*/
public static final String 累计服务金额基数 = "order_amount_base";
/**
* 当月服务单数基数
*/
public static final String 当月服务单数基数 = "order_month_num_base";
/**
* 累计服务单数基数
*/
public static final String 累计服务单数基数 = "order_num_base";
/**
* 赠送金额支付占比
*/
public static final String 赠送金额支付占比 = "send_price_pay_ratio";
/**
* 邀请用户下单获取积分与消费额的比例
*/
public static final String 邀请用户下单获取积分与消费额的比例 = "integral_ratio";
}
/**
* 推广员分佣比例
*/
public static final String 推广师分佣比例 = "commission_ratio";
/**
* 表现师分佣比例
*/
public static final String 表现师分佣比例 = "store_Commission_Ratio";
/**
* 点赞好评基础量
*/
public static final String 点赞好评基础量 = "like_good_base_num";
/**
* 作品最大数量
*/
public static final String 作品最大数量 = "works_max_num";
/**
* 订单取消时间(单位:分钟)
*/
public static final String 订单自动取消时间 = "auto_order_cancel_time";
/**
* 订单自动确认几天前发送消息(单位:天)
*/
public static final String 订单自动确认前发送消息 = "auto_order_cancel_time";
/**
* 绑定账户协议图片
*/
public static final String 表现师绑定账户协议图片 = "BIND_AGREEMENT";
/**
* 绑定账户协议图片
*/
public static final String 推荐官绑定账户协议图片 = "BIND_AGREEMENT_SALE";
/**
* 充值赠送金额比例
*/
public static final String 充值赠送金额比例 = "give_amount";
/**
* 商城订单相关
*/
public static class MallOrderDict {
public static final String 售后天数 = "AFTER_SALES_DAYS";
public static final String 平台发货后X天自动确认收货 = "confirm_days";
}
}

View File

@@ -0,0 +1,303 @@
package com.ruoyi.code;
public class PublicCommon {
/**
* 删除标识
*/
public static final Integer 启用 = 1;
public static final Integer 删除 = 2;
public static final Integer 禁用 = 3;
/**
* 审核状态
*/
public static final Integer 待审核 = 1;
public static final Integer 审核通过 = 2;
public static final Integer 审核失败 = 3;
/**
* 是否在线
*/
public static final Integer 在线 = 1;
public static final Integer 离线 = 2;
/**
* 用户类型
*/
public static final Integer 设计师 = 1;
public static final Integer 表现师 = 2;
public static final Integer 销售 = 3;
public static final Integer 企业 = 4;
/**
* 是否默认
*/
public static final Integer 非默认 = 1;
public static final Integer 默认 = 2;
/**
* 互动消息类型
*/
public static class InteractionMessage {
/**
* 互动消息类型
*/
public static final Integer 点赞 = 1;
public static final Integer 评论 = 2;
public static final Integer 关注 = 3;
}
/**
* 表现师接单
*/
public static class OrderReceiving {
/**
* 接单状态
*/
public static final Integer 等待接单 = 1;
public static final Integer 接单成功 = 2;
public static final Integer 接单失败 = 3;
}
/**
* 申诉
*/
public static class Appeal {
/**
* 申诉状态
*/
public static final Integer 无申诉 = 1;
public static final Integer 申诉中 = 2;
public static final Integer 申诉完成 = 3;
}
/**
* 调价
*/
public static class OrderChange {
/**
* 调价状态1 待确认 2 已确认
*/
public static final Integer 待确认 = 1;
public static final Integer 已确认 = 2;
public static final Integer 拒绝 = 3;
}
/**
* 延期
*/
public static class Extension {
/**
* 延期状态1 待确认 2 已确认
*/
public static final Integer 取消 = -1;
public static final Integer 待确认 = 1;
public static final Integer 已确认 = 2;
public static final Integer 拒绝 = 3;
}
/**
* 消息
*/
public static class Message {
/**
* 消息是否清空
*/
public static final Integer 未清空 = 1;
public static final Integer 清空 = 2;
/**
* 是否已读
*/
public static final Integer 未读 = 1;
public static final Integer 已读 = 2;
/**
* 系统消息是否发布
*/
public static final Integer 未发布 = 1;
public static final Integer 发布 = 2;
/**
* 推送是否关闭
*/
public static final Integer 未关闭 = 1;
public static final Integer 关闭 = 2;
}
/**
* 帖子
*/
public static class Post {
public static final Integer 分享数 = 1;
public static final Integer 点赞数 = 2;
public static final Integer 评论数 = 3;
public static final Integer 收藏数 = 4;
public static final Integer 浏览数 = 5;
}
/**
* 帖子评论
*/
public static class PostComment {
public static final Integer 点赞数 = 1;
public static final Integer 评论数 = 2;
}
/**
* 审核相关
*/
public static class Process{
/**
* 是否审核
*/
public static final String 不用审核 = "1";
public static final String 需要审核 = "2";
/**
* 是否是当前审批流程
*/
public static final Integer 不是 = 1;
public static final Integer = 2;
/**
* 审核流程记录表中 is_end 字段 审批人类型
*/
public static final Integer 发起人 = 0;
public static final Integer 中间审批人 = 1;
public static final Integer 最终审核人 = 2;
}
/**
* 优惠券
*/
public static class Coupon {
/**
* 1指定时间范围内有效;2 领取n天有效3 不限时
*/
public static final Integer 指定时间 = 1;
public static final Integer 领取几天有效= 2;
public static final Integer 不限时 = 3;
/**
* 是否使用优惠券
*/
public static final Integer 未使用 = 1;
public static final Integer 使用= 2;
}
/**
* 商品
*/
public static class Goods {
/**
* 规格类型
*/
public static final Integer 单规格 = 1;
public static final Integer 多规格= 2;
}
/**
* 支付
*/
public static class Pay {
/**
* 支付状态
*/
public static final Integer 未支付 = 1;
public static final Integer 已支付 = 2;
public static final Integer 支付失败 = 3;
}
/**
* 钱包
*/
public static class Wallet {
/**
* 资金可提现状态
*/
public static final Integer 可提现=1;
public static final Integer 不可提现=2;
public static final Integer 到账取消=3;
}
/**
* 保证金金额来源类型
*/
public static class BondWith {
/**
* 保证金金额来源类型
*/
public static final Integer 缴纳=1;
public static final Integer 提现=2;
public static final Integer 提现返还=3;
public static final Integer 平台扣除=4;
public static final Integer 平台赠与=5;
}
/**
* 售后
*/
public static class Refund {
/**
* 售后类型
*/
public static final Integer 退款=1;
public static final Integer 退款退货=2;
}
/**
* 订单
*/
public static class Order {
/**
* 订单类型
*/
public static final Integer 订单=1;
public static final Integer 商城订单=2;
}
}

View File

@@ -0,0 +1,28 @@
package com.ruoyi.code;
/**
* 推送类型
* @author liwenlong
* @date 2023/2/11 15:36
*/
public class PushConstant {
/**
* 系统消息
*/
public static final Integer 系统消息 = 1;
/**
* 商城订单消息
*/
public static final Integer 商城订单消息 = 2;
/**
* 互动消息
*/
public static final Integer 互动消息 = 3;
}

View File

@@ -0,0 +1,40 @@
package com.ruoyi.code;
/**
* @author liwenlong
* @date 2023/2/11 15:42
*/
public class Token {
/**
* token 过期时间
*/
public static long EXPIRE_SECOND = 7;
/**
* redis里存储token信息
*/
public static final String TOKEN_MAP = "TOKEN_MAP";
/**
* 用户 token 前缀
*/
public static final String customer = "customer_";
/**
* 表现师 token 前缀
*/
public static final String store = "store_";
/**
* 销售 token 前缀
*/
public static final String sale = "sale_";
/**
* 企业 token 前缀
*/
public static final String enterprise = "enterprise_";
}