| | |
| | | private static final String PWD = "1369815429"; |
| | | |
| | | public static boolean sendVerifyCode(String telphone, String code, int time) { |
| | | String content = "【HiBit】您的验证码是{},请在{}分钟内输入,请勿泄露给他人,如非本人操作,请及时修改密码。"; |
| | | String content = "【ChiaCloud】您的验证码是{},请在{}分钟内输入,请勿泄露给他人,如非本人操作,请及时修改密码。"; |
| | | return send(telphone, 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, orderNo)); |
| | | } |
| | | |
| | | public static boolean sendWithdrawMsg(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)); |
| | | } |
| | | |
| | | public static boolean sendForceCloseMsg(String telphone) { |
| | | String content = "【HiBit】尊敬的用户,因市场剧烈波动,您的合约账户已被强制平仓。"; |
| | | String content = "【ChiaCloud】尊敬的用户,因市场剧烈波动,您的合约账户已被强制平仓。"; |
| | | return send(telphone, content); |
| | | } |
| | | |