From fe879975a3e8a0a1aa280fb839e02d159bfbcff8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 27 八月 2019 18:04:38 +0800 Subject: [PATCH] 金币任务多次获取bug修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/integral/IntegralGetService.java | 154 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 142 insertions(+), 12 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/integral/IntegralGetService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/integral/IntegralGetService.java index cb2dc8c..a7470c3 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/integral/IntegralGetService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/integral/IntegralGetService.java @@ -1,8 +1,7 @@ package com.yeshi.fanli.service.inter.integral; +import com.yeshi.fanli.entity.integral.IntegralTaskRecord; import com.yeshi.fanli.exception.integral.IntegralGetException; - -import net.sf.json.JSONObject; /** * 閲戝竵鑾峰彇鏈嶅姟 @@ -22,7 +21,7 @@ * 浜嬩欢缂栫爜 * @throws IntegralGetException */ - public void addEventStatistic(Long uid, String event, JSONObject params) throws IntegralGetException; + public IntegralTaskRecord addEventStatistic(Long uid, String event) throws IntegralGetException; /** * 浠庣矘璐存澘鎺ㄨ崘杩涘叆鎼滅储缁撴灉 @@ -30,7 +29,7 @@ * @param uid * @throws IntegralGetException */ - public void addRecommendSearch(Long uid) throws IntegralGetException; + public IntegralTaskRecord addRecommendSearch(Long uid); /** * 鎼滅储缁撴灉娴忚 @@ -38,7 +37,7 @@ * @param uid * @throws IntegralGetException */ - public void addSearchResultScan(Long uid) throws IntegralGetException; + public IntegralTaskRecord addSearchResultScan(Long uid,String kw) ; /** * 鍒嗕韩閭�璇峰浘 @@ -46,7 +45,7 @@ * @param uid * @throws IntegralGetException */ - public void addShareInvite(Long uid) throws IntegralGetException; + public IntegralTaskRecord addShareInvite(Long uid); /** * 杩涘叆搴楅摵 @@ -54,7 +53,7 @@ * @param uid * @throws IntegralGetException */ - public void addIntoShop(Long uid) throws IntegralGetException; + public IntegralTaskRecord addIntoShop(Long uid, String shopUrlMD5); /** * 鎺ㄩ�佽褰曢〉娴忚 @@ -62,7 +61,7 @@ * @param uid * @throws IntegralGetException */ - public void addScanPushHistory(Long uid) throws IntegralGetException; + public IntegralTaskRecord addScanPushHistory(Long uid) ; /** * 鍟嗗搧璇︽儏椤垫祻瑙� @@ -71,27 +70,158 @@ * @param goodsType * @param goodsId */ - public void addScanGoodsDetail(Long uid, int goodsType, Long goodsId); + public IntegralTaskRecord addScanGoodsDetail(Long uid, int goodsType, Long goodsId); /** * 鎺ㄨ崘banner娴忚 * * @param uid */ - public void addScanRecommendBanner(Long uid); + public IntegralTaskRecord addScanRecommendBanner(Long uid, String id); /** * 鎺ㄨ崘涓撻娴忚 * * @param uid */ - public void addScanRecommendSpecial(Long uid); + public IntegralTaskRecord addScanRecommendSpecial(Long uid, String id); /** * 娣樺疂璐墿杞︽祻瑙� * * @param uid */ - public void addScanTaoBaoCart(Long uid); + public IntegralTaskRecord addScanTaoBaoCart(Long uid); + + /** + * 鑷喘绔嬪噺 + * @param uid + */ + public void addTaoLiJinBuy(Long uid, Long goodsId); + + /** + * 鐩存帴閭�璇� + * @param uid + * @param goodsId + */ + public void addInviteLevelOne(Long uid, Long workerId); + + + /** + * 鍗曚釜鍟嗗搧鍒嗕韩 + * @param uid + */ + public void addShareSingleGoods(Long uid); + + /** + * 澶氫釜鍟嗗搧鍒嗕韩 + * @param uid + */ + public void addShareMultipleGoods(Long uid); + + /** + * 鍒嗕韩鐖嗘鍟嗗搧 + * @param uid + */ + public void addShareTLJGoods(Long uid); + + /** + * 璧犻�佸鍔卞埜 + * @param uid + */ + public void addGiveRebateCoupon(Long uid); + + /** + * 璧犻�佸厤鍗曞埜 + * @param uid + */ + public void addGiveFreeCoupon(Long uid); + + /** + * 璧犻�佹帹骞跨孩鍖� + * @param uid + */ + public void addGiveTaoLiJin(Long uid); + + /** + * 鍏抽棴 涓嶅枩娆㈠晢鍝� + * @param uid + */ + public void addCloseRecommendGoods(Long uid); + + /** + * 棰嗗埜杩斿埄 + * @param uid + */ + public void addCouponRebate(Long uid); + + /** + * 杩斿埄璁㈠崟 + * @param uid + */ + public void addRebateOrder(Long uid); + + /** + * 鍒嗕韩璁㈠崟 + * @param uid + */ + public void addShareOrder(Long uid); + + /** + * 寰俊鎺堟潈 + * @param uid + */ + public void addBindWeiXin(Long uid); + + /** + * 缁戝畾鎵嬫満 + * @param uid + */ + public void addBindPhone(Long uid); + + /** + * 娣樺疂鎺堟潈 + * @param uid + */ + public void addBindTaoBao(Long uid); + + /** + * 娣诲姞寰俊鍙� + * @param uid + */ + public void addSetWeiXinNum(Long uid); + + /** + * 璁剧疆鎬у埆 + * @param uid + */ + public void addSetGender(Long uid); + + /** + * 淇敼澶村儚 + * @param uid + */ + public void addSetPortrait(Long uid); + + /** + * 淇敼鏄电О + * @param uid + */ + public void addSetNickname(Long uid); + + /** + * 缁戝畾鏀粯瀹� + * @param uid + */ + public void addBindAlipay(Long uid); + + /** + * 婵�娲婚個璇� + * @param uid + */ + public void addInviteActivate(Long uid); + + + } -- Gitblit v1.8.0