| | |
| | | package com.matrix.system.shopXcx.api.tools; |
| | | |
| | | import com.matrix.component.redis.RedisUserLoginUtils; |
| | | import com.matrix.system.common.constance.AppConstance; |
| | | |
| | | import com.matrix.system.common.init.UserCacheManager; |
| | | import com.matrix.system.shopXcx.api.service.WxShopMemberDayService; |
| | | import com.matrix.system.shopXcx.bean.ShopOrder; |
| | | import com.matrix.system.shopXcx.dao.ShopCouponRecordDao; |
| | | import com.matrix.system.shopXcx.dao.ShopOrderDao; |
| | | import com.matrix.system.shopXcx.dao.ShopSkuDao; |
| | | import com.matrix.system.shopXcx.api.service.WxShopMemberDayService; |
| | | import org.apache.commons.collections.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | @Autowired |
| | | private ShopOrderDao shopOrderDao; |
| | | @Autowired |
| | | private RedisUserLoginUtils redisUserLoginUtils; |
| | | private UserCacheManager userCacheManager; |
| | | @Autowired |
| | | private ShopCouponRecordDao shopCouponRecordDao; |
| | | @Autowired |
| | |
| | | * @param userId 用户ID |
| | | * @return true = 新人 |
| | | */ |
| | | public boolean verifyIsNewPeople(String userId) { |
| | | public boolean verifyIsNewPeople(Long userId) { |
| | | ShopOrder orderParam = new ShopOrder(); |
| | | orderParam.setPayResult(ShopOrder.ORDER_WX_STATUS_PAY_SUCCESS); |
| | | orderParam.setUserId(userId); |