From 1004f3d16011f69894196bfd180ea539b76ba4e7 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 03 Jun 2026 15:27:26 +0800
Subject: [PATCH] 1
---
trading-order-common/src/main/java/com/yami/trading/common/constants/Constants.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/trading-order-common/src/main/java/com/yami/trading/common/constants/Constants.java b/trading-order-common/src/main/java/com/yami/trading/common/constants/Constants.java
index 9086780..c79ca23 100644
--- a/trading-order-common/src/main/java/com/yami/trading/common/constants/Constants.java
+++ b/trading-order-common/src/main/java/com/yami/trading/common/constants/Constants.java
@@ -15,6 +15,8 @@
public static final String IMAGES_HTTP = PropertiesUtil.getProperty("images_http");
+ public static final String API_HTTP = PropertiesUtil.getProperty("api_http");
+
/**
* c2c卖币
*/
@@ -119,6 +121,11 @@
* 永续合约建仓
*/
public static final String MONEYLOG_CONTENT_CONTRACT_OPEN = "contract_open";
+
+ /**
+ * 永续合约追加保证金
+ */
+ public static final String MONEYLOG_CONTENT_CONTRACT_ADD = "contract_add";
/**
* 交割合约建仓
*/
@@ -158,6 +165,22 @@
MONEYLOG_CATEGORY.put(MONEYLOG_CATEGORY_CONTRACT, "合约交易");
MONEYLOG_CATEGORY.put(MONEYLOG_CATEGORY_COIN, "法币交易");
};
+
+ /**
+ * 新币交易
+ */
+ public static final String MONEYLOG_CONTENT_NEW_COIN = "new_coin";
+
+ /**
+ * 新币买入
+ */
+ public static final String MONEYLOG_CONTENT_NEW_COIN_BUY = "new_coin_buy";
+
+ /**
+ * 新币买入退回
+ */
+ public static final String MONEYLOG_CONTENT_NEW_COIN_RT_BUY = "new_coin_rt_buy";
+
/**
* 币币交易
@@ -222,6 +245,29 @@
* 银行卡订单取消
*/
public static final String MONEYLOG_CONTENT_BANK_CARD_ORDER_CANCEL = "bank_card_order_cancel";
+
+ /**
+ * 矿机交易
+ */
+ public static final String MONEYLOG_CATEGORY_MINER = "miner";
+
+ /**
+ * 矿机买入
+ */
+ public static final String MONEYLOG_CONTENT_MINER_BUY = "miner_buy";
+ /**
+ * 矿机退回本金
+ */
+ public static final String MONEYLOG_CONTENT_MINER_BACK = "miner_back";
+
+ /**
+ * 矿机收益
+ */
+ public static final String MONEYLOG_CONTENT_MINER_PROFIT = "miner_profit";
+ /**
+ * 矿机推荐收益
+ */
+ public static final String MONEYLOG_CONTENT_MINER_RECOM_PROFIT = "miner_recom_profit";
public static Map<String, String> MONEYLOG_CONTENT = new HashMap<String, String>();
@@ -360,6 +406,11 @@
*/
public static String OUT_OR_IN_DEFAULT = "in";
+ /**
+ * 理财产品交易
+ */
+ public static final String MONEYLOG_CATEGORY_FINANCE = "finance";
+
public final static String PROFIT_LOSS_TYPE_PROFIT = "profit";
public final static String PROFIT_LOSS_TYPE_LOSS = "loss";
public final static String PROFIT_LOSS_TYPE_BUY_PROFIT = "buy_profit";
--
Gitblit v1.9.3