| | |
| | | import com.yeshi.fanli.log.LogHelper;
|
| | | import com.yeshi.fanli.service.inter.config.ConfigService;
|
| | | import com.yeshi.fanli.service.inter.count.HongBaoV2CountService;
|
| | | import com.yeshi.fanli.service.inter.hongbao.HongBaoService;
|
| | | import com.yeshi.fanli.service.inter.hongbao.ThreeSaleSerivce;
|
| | | import com.yeshi.fanli.service.inter.user.UserInfoService;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | |
| | |
|
| | | @Resource
|
| | | private UserInfoService userInfoService;
|
| | |
|
| | | @Resource
|
| | | private HongBaoService hongBaoService;
|
| | |
|
| | | @Resource
|
| | | private ConfigService configService;
|
| | |
| | | return form;
|
| | | }
|
| | |
|
| | | if (form.getSystem().getId() != 7)
|
| | | hongBaoService.setNewUserHongBao(form, 1);
|
| | | LogHelper.userInfo("添加用户:" + form);
|
| | | if (form.getLoginType() == Constant.WEIXIN) {
|
| | | // final UserInfo temp = form;
|
| | |
| | |
|
| | | // 最近一次下单时间
|
| | | Date lastOrderTime = hongBaoV2CountService.getLastHongBaoTime(uid);
|
| | | if (lastOrderTime != null) {
|
| | | if (lastOrderTime != null && lastOrderTime.getTime() != 0) {
|
| | | userInfoVO.setLastOrderTime(lastOrderTime.getTime());
|
| | | }
|
| | |
|