| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.cache.annotation.Cacheable;
|
| | | import org.springframework.context.annotation.Lazy;
|
| | | import org.springframework.scheduling.annotation.Async;
|
| | | import org.springframework.stereotype.Service;
|
| | |
| | | import com.yeshi.fanli.service.inter.integral.IntegralTaskRecordService;
|
| | | import com.yeshi.fanli.service.inter.integral.IntegralTaskService;
|
| | | import com.yeshi.fanli.util.RedisManager;
|
| | | import com.yeshi.fanli.util.annotation.integral.IntegralGetFrequencyLimit;
|
| | | import com.yeshi.fanli.util.annotation.integral.IntegralGetVersionLimit;
|
| | |
|
| | | @Lazy
|
| | |
| | | return threeSaleMapper.selectBoss(uid);
|
| | | }
|
| | |
|
| | | @IntegralGetVersionLimit(uid="#uid")
|
| | | @IntegralGetVersionLimit(uid = "#uid")
|
| | | @Override
|
| | | public IntegralTaskRecord addEventStatistic(Long uid, String event) throws IntegralGetException {
|
| | | Date nowDate = new Date();
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addRecommendSearch-'+#uid")
|
| | | @IntegralGetFrequencyLimit(key = "'addRecommendSearch-'+#uid")
|
| | | @Override
|
| | | public IntegralTaskRecord addRecommendSearch(Long uid) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addSearchResultScan-'+#uid+'-'+#kw")
|
| | | @IntegralGetFrequencyLimit(key = "'addSearchResultScan-'+#uid+'-'+#kw")
|
| | | @Override
|
| | | public IntegralTaskRecord addSearchResultScan(Long uid, String kw) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addShareInvite-'+#uid")
|
| | | @IntegralGetFrequencyLimit(key = "'addShareInvite-'+#uid")
|
| | | @Override
|
| | | public IntegralTaskRecord addShareInvite(Long uid) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addIntoShop-'+#uid+'-'+#shopUrlMD5")
|
| | | @IntegralGetFrequencyLimit(key = "'addIntoShop-'+#uid+'-'+#shopUrlMD5")
|
| | | @Override
|
| | | public IntegralTaskRecord addIntoShop(Long uid, String shopUrlMD5) {
|
| | | try {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addScanPushHistory-'+#uid")
|
| | | @IntegralGetFrequencyLimit(key = "'addScanPushHistory-'+#uid")
|
| | | @Override
|
| | | public IntegralTaskRecord addScanPushHistory(Long uid) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addScanGoodsDetail-'+#uid+'-'+#goodsType+'-'+#goodsId")
|
| | | @IntegralGetFrequencyLimit(key = "'addScanGoodsDetail-'+#uid+'-'+#goodsType+'-'+#goodsId")
|
| | | @Override
|
| | | public IntegralTaskRecord addScanGoodsDetail(Long uid, int goodsType, Long goodsId) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addScanRecommendBanner-'+#uid+'-'+#id")
|
| | | @IntegralGetFrequencyLimit(key = "'addScanRecommendBanner-'+#uid+'-'+#id")
|
| | | @Override
|
| | | public IntegralTaskRecord addScanRecommendBanner(Long uid, String id) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addScanRecommendSpecial-'+#uid+'-'+#id")
|
| | | @IntegralGetFrequencyLimit(key = "'addScanRecommendSpecial-'+#uid+'-'+#id")
|
| | | @Override
|
| | | public IntegralTaskRecord addScanRecommendSpecial(Long uid, String id) {
|
| | | try {
|
| | |
| | | return null;
|
| | | }
|
| | |
|
| | | @Cacheable(value = "integralGetCache", key = "'addScanTaoBaoCart-'+#uid")
|
| | | @IntegralGetFrequencyLimit(key = "'addScanTaoBaoCart-'+#uid")
|
| | | @Override
|
| | | public IntegralTaskRecord addScanTaoBaoCart(Long uid) {
|
| | | try {
|