Helius
2020-12-28 7ba7366a8c6ce8019339e433b218386645cb5312
src/main/java/com/xcong/excoin/modules/Sms106Send.java
@@ -36,18 +36,21 @@
    public static boolean sendRechargeMsg(String phone, String time, String orderNo) {
        String msg = "尊敬的用户,您的帐号于{}有一笔成功充值订单,如有疑问请联系客服,订单编号为{}";
        String content = StrUtil.format(msg, time, orderNo);
        return request(phone, content, "充值");
        return true;
        //return request(phone, content, "充值");
    }
    public static boolean sendWithdrawalMsg(String phone, String time, String orderNo) {
        String msg = "尊敬的用户,您的帐号于{}有一笔成功提现订单,如有疑问请联系客服,订单编号为{}";
        String content = StrUtil.format(msg, time, orderNo);
        return request(phone, content, "提现");
        return true;
       // return request(phone, content, "提现");
    }
    public static boolean sendWithdrawalCoinMsg(String phone, String time) {
       String msg = "尊敬的用户,您的帐号于{}有一笔成功提现订单,如有疑问请联系客服。";
       String content = StrUtil.format(msg, time);
       return request(phone, content, "提币");
       //return request(phone, content, "提币");
        return true;
    }
    private static boolean request(String phone, String content, String tagName) {