| | |
| | |
|
| | | import com.yeshi.fanli.exception.user.UserLotteryRecordException;
|
| | |
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | | public interface UserLotteryRecordService {
|
| | |
|
| | | /**
|
| | |
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | public Map<String, Object> getLotteryCountDaily(Long uid) throws UserLotteryRecordException, Exception;
|
| | | public JSONObject getLotteryCountDaily(Long uid) throws UserLotteryRecordException, Exception;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | public Map<String, Object> executeLotteryDaily(Long uid) throws UserLotteryRecordException, Exception;
|
| | |
|
| | |
|
| | | /**
|
| | | * 新人抽奖-次数
|
| | | * @param uid
|
| | | * @return
|
| | | * @throws UserLotteryRecordException
|
| | | * @throws Exception
|
| | | */
|
| | | public JSONObject getLotteryCountNewbies(Long uid) throws UserLotteryRecordException, Exception;
|
| | |
|
| | | /**
|
| | | * 新人抽奖-抽奖结果
|
| | | * @param uid
|
| | | * @return
|
| | | * @throws UserLotteryRecordException
|
| | | * @throws Exception
|
| | | */
|
| | | public Map<String, Object> executeLotteryNewbies(Long uid) throws UserLotteryRecordException, Exception;
|
| | |
|
| | |
|
| | | /**
|
| | | * 新人抽奖 -返回奖品
|
| | | * @param count
|
| | | * @param countPrize
|
| | | * @param couponType
|
| | | * @return
|
| | | */
|
| | | public String getLotteryPrizeNewbies(int count, int countPrize, String couponType);
|
| | |
|
| | | }
|