From 5997dc8acfa81a6c867c28810d1c3c9714efc46c Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期六, 29 三月 2025 14:55:42 +0800
Subject: [PATCH] fix: 登录
---
src/main/java/com/mzl/flower/constant/Constants.java | 208 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 206 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/mzl/flower/constant/Constants.java b/src/main/java/com/mzl/flower/constant/Constants.java
index 7f297c5..eabbd54 100644
--- a/src/main/java/com/mzl/flower/constant/Constants.java
+++ b/src/main/java/com/mzl/flower/constant/Constants.java
@@ -10,6 +10,11 @@
public static final String DEFAULT_PASSWORD = "1234562";
+ public static final String DEFAULT_MEMBER_ID = "1"; //默认会员等级
+
+ public static final String DEFAULT_SUB_ACCOUNT_PARTNER = "partner"; //合伙人子账号权限根路径
+ public static final String DEFAULT_SUB_ACCOUNT_SUPPLIER = "supplier"; //供应商子账号权限根路径
+
/**
* 审核结果
@@ -480,8 +485,10 @@
consume("消费获取"),
activity("活动获取"),
giveaway("积分赠送"),
+ sign("签到"),
deduction("积分扣减"),
- exchange("积分兑换");
+ exchange("积分兑换"),
+ expired("积分过期");
POINT_TYPE(String desc) {
this.desc = desc;
@@ -526,7 +533,7 @@
}
public enum GROWTH_SOURCE {
- sign("签到"), consume("消费");
+ sign("签到"), consume("消费"), downgrading("降级");
GROWTH_SOURCE(String desc) {
this.desc = desc;
@@ -552,4 +559,201 @@
return desc;
}
}
+ public enum after_sale_type {
+ quality("1.质量问题"),
+ stockout("2.缺货问题"),
+ broken("3.断头问题"),
+ category("4.品类不符"),
+ grade("5.等级不符"),
+ ;
+
+ after_sale_type(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+
+ public enum BILL_CHANGE_TYPE {
+ withdraw("提现"), settlement("结算");
+
+ BILL_CHANGE_TYPE(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum BILL_WITHDRAW_TYPE {
+ start("发起提现"), fail("提现失败"), success("提现成功")
+ ;
+
+ BILL_WITHDRAW_TYPE(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+
+
+ public enum BILL_CHANGE_METHOD {
+ add("增加"), reduce("减少");
+
+ BILL_CHANGE_METHOD(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum WALLET_APPROVE_STATE {
+ WAITING("待审核"), APPROVE("已通过"),REJECT("已拒绝");
+
+ WALLET_APPROVE_STATE(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+// public enum WALLET_WITHDRAW_STATE {
+// WAITING("提现中"),SUCCESS("提现成功"),FAILURE("提现失败");
+//
+// WALLET_WITHDRAW_STATE(String desc) {
+// this.desc = desc;
+// }
+//
+// private String desc;
+//
+// public String getDesc() {
+// return desc;
+// }
+// }
+
+ public enum WALLET_WITHDRAW_METHOD {
+ WEIXIN("微信");
+
+ WALLET_WITHDRAW_METHOD(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum WALLET_WITHDRAW_TYPE {
+ BALANCE("余额提现");
+
+ WALLET_WITHDRAW_TYPE(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum CUSTOM01 {
+ ZERO(0)
+ ,ONE(1)
+ ;
+
+ CUSTOM01(Integer desc) {
+ this.desc = desc;
+ }
+
+ private Integer desc;
+
+ public Integer getDesc() {
+ return desc;
+ }
+ }
+
+ public enum APP_MENU_TYPE {
+ SUPPLIER("supplier")
+ , PARTNER("partner")
+ ;
+
+ APP_MENU_TYPE(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum SMS_RECEIVE_TYPE {
+ IMPORT("导入接收文件"), INPUT("手动输入"), SELECT("点击选择用户列表");
+
+ SMS_RECEIVE_TYPE(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum SMS_TASK_STATUS {
+ wait_publish("待发布"), in_execution("执行中"), complete("已完成"), failure("失败");
+
+ SMS_TASK_STATUS(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+ public enum SMS_SEND_RESULT {
+ success("成功"), failure("失败");
+
+ SMS_SEND_RESULT(String desc) {
+ this.desc = desc;
+ }
+
+ private String desc;
+
+ public String getDesc() {
+ return desc;
+ }
+ }
+
+
+
}
--
Gitblit v1.9.3