| | |
| | | tokenRecord.setStartTime(nowDate);
|
| | | tokenRecord.setEndTime(DateUtil.plusDayDate(3, nowDate));
|
| | | tokenRecord.setToken(token);
|
| | | tokenRecord.setState(state);
|
| | | tokenRecord.setState(0);
|
| | | tokenRecordService.insertSelective(tokenRecord);
|
| | | } catch (Exception e) {
|
| | | LogHelper.errorDetailInfo(e);
|
| | |
| | |
|
| | | String tips = "送给你一张返利奖励券快去领取吧,复制本条消息[&%s&],打开[返利券]App领取,使用后可让返利加倍。\r\n"
|
| | | +"----------------------------\r\n"
|
| | | + "下载[返利券]App链接:http://t.cn/2H7AXAH\r\n"
|
| | | + "下载[返利券]App链接:%s\r\n"
|
| | | + "PS:口令将会24小时内失效,请及时领取。";
|
| | |
|
| | | tips = String.format(tips, token);
|
| | | tips = String.format(tips, token, configService.get("app_down_link"));
|
| | |
|
| | | return tips;
|
| | | }
|