1
zj
6 days ago 2e26306ed035bf60e6789dc1bbdabd914f630df8
trading-order-common/src/main/java/com/yami/trading/common/constants/Constants.java
@@ -18,9 +18,31 @@
//
   public static final String WEB_URL = ApplicationUtil.getProperty("web_url");
   /**
    * H5/PC 哈希路由注册页邀请链接,避免 web_url 尾斜杠与路径拼接出现双斜杠。
    */
   public static String normalizeWebUrl(String url) {
      if (url == null) {
         return "";
      }
      String s = url.trim();
      while (s.endsWith("/")) {
         s = s.substring(0, s.length() - 1);
      }
      return s;
   }
   public static String buildRegisterInviteLink(String userCode) {
      String base = normalizeWebUrl(WEB_URL);
      String code = userCode == null ? "" : String.valueOf(userCode).trim();
      return base + "/#/register?usercode=" + code;
   }
   public static final String IMAGES_DIR = ApplicationUtil.getProperty("images.dir");
   public static final String IMAGES_HTTP = ApplicationUtil.getProperty("images_http");
   public static final String API_HTTP = ApplicationUtil.getProperty("api_http");
   /**
    * 质押2.0下单
@@ -502,6 +524,10 @@
      MONEYLOG_CONTENT.put(MONEYLOG_CONTENT_BANK_CARD_WITHDRAW, "银行卡提现");
      MONEYLOG_CONTENT.put(MONEYLOG_CONTENT_BANK_CARD_RECHARGE, "银行卡充值");
      MONEYLOG_CONTENT.put(MONEYLOG_CONTENT_BANK_CARD_ORDER_CANCEL, "银行卡订单取消");
      MONEYLOG_CONTENT.put(MONEYLOG_CONTENT_FOLLOW_UP_FEE, "跟单佣金");
      MONEYLOG_CONTENT.put(MONEYLOG_TRANSFER_IN, "跟单账户划入");
      MONEYLOG_CONTENT.put(MONEYLOG_TRANSFER_OUT, "跟单账户划出");
      MONEYLOG_CONTENT.put(MONEYLOG_CONTENT_REWARD, "推荐奖励");
   }
   /**
@@ -545,6 +571,7 @@
       */
      BLOCKCHAIN_COINS_NAME.put("ERC20", "ERC20");
      BLOCKCHAIN_COINS_NAME.put("TRC20", "TRC20");
      BLOCKCHAIN_COINS_NAME.put("BSC", "BSC");
      /**
       * usdt
       */