xiaoyong931011
2021-05-18 7e3ef24a24df87f71beedefeec3febb1ce13b094
20210518
1 files modified
6 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/Sms106Send.java 6 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/Sms106Send.java
@@ -31,17 +31,17 @@
     * @return
     */
    public static boolean sendVerifyCode(String phone, String code, int time) {
        String content = "【HiBit】您的验证码是{},请在{}分钟内输入,请勿泄露给他人,如非本人操作,请及时修改密码。";
        String content = "【ChiaCloud】您的验证码是{},请在{}分钟内输入,请勿泄露给他人,如非本人操作,请及时修改密码。";
        return send(phone, StrUtil.format(content, code, time));
    }
    public static boolean sendRechargeMsg(String telphone, Date time, String amount, String orderNo) {
        String content = "【HiBit】尊敬的用户,恭喜您于{}有一笔充值已成功到账,充值数量为{}, 订单号为{}。";
        String content = "【ChiaCloud】尊敬的用户,恭喜您于{}有一笔充值已成功到账,充值数量为{}, 订单号为{}。";
        return send(telphone, StrUtil.format(content, DateUtil.format(time, DatePattern.NORM_DATETIME_MINUTE_PATTERN), amount));
    }
    public static boolean sendWithdrawalCoinMsg(String telphone, Date time, String amount) {
        String content = "【HiBit】尊敬的用户,恭喜您于{}提现成功,数量为{}。";
        String content = "【ChiaCloud】尊敬的用户,恭喜您于{}提现成功,数量为{}。";
        return send(telphone, StrUtil.format(content, DateUtil.format(time, DatePattern.NORM_DATETIME_MINUTE_PATTERN), amount));
    }