| | |
| | | import com.yeshi.fanli.util.Constant;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import com.yeshi.fanli.util.TimeUtil;
|
| | | import com.yeshi.fanli.util.annotation.RequestSerializableByKey;
|
| | | import com.yeshi.fanli.vo.integral.DailySignVO;
|
| | | import com.yeshi.fanli.vo.integral.ExchangeTipVO;
|
| | | import com.yeshi.fanli.vo.integral.IntegralDetailVO;
|
| | |
| | |
|
| | | // 用户签到
|
| | | Integer signState = 0;
|
| | | int signDays = 1;
|
| | | if (page == 1) {
|
| | |
|
| | | // 签到
|
| | |
| | |
|
| | | // 签到日期信息
|
| | | DailySignVO dailySignVO = integralTaskClassService.getDailySignList(uid, userRank.getId());
|
| | | if (dailySignVO != null) {
|
| | | signDays = dailySignVO.getDays();
|
| | | }
|
| | |
|
| | | boolean ejectSign = false;
|
| | | if (signState == 1)
|
| | |
| | | out.print(JsonUtil.loadFalseResult(1, e.getMsg()));
|
| | | }
|
| | | }
|
| | | |
| | |
|
| | | /**
|
| | | * 兑换金币
|
| | |
| | | try {
|
| | | record = integralGetService.addEventStatistic(uid, event, null);
|
| | | } catch (IntegralGetException e) {
|
| | | e.printStackTrace();
|
| | | }
|
| | | if (record == null) {
|
| | | out.print(JsonUtil.loadFalseResult("添加失败"));
|