package com.yeshi.fanli.service.inter.config;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.admin.InviteGetMoney;
|
import com.yeshi.fanli.entity.bus.invite.SpreadImg;
|
|
public interface InviteGetMoneyService {
|
|
Integer getCount();
|
|
List<InviteGetMoney> inviteGetMoneyList(int i, String key);
|
|
void deleteInviteGetMoney(long id);
|
|
void updateInviteGetMoney(InviteGetMoney inviteGetMoney);
|
|
InviteGetMoney getInviteGetMoney(long id);
|
|
int myFirstTeamCount(String uid);
|
|
int mySecondTeamCount(String uid);
|
|
BigDecimal getMoneyToday(String uid);
|
|
BigDecimal getMoneyMonth(String uid);
|
|
/**
|
* 上月预估(邀请赚+分享赚)
|
* @param uid
|
* @return
|
*/
|
BigDecimal getMoneyLastMonth(String uid);
|
|
Integer spreadImgCount();
|
|
List<SpreadImg> spreadImgList(int i, String key);
|
|
void deleteInviteFriendImg(long id);
|
|
SpreadImg getInviteSpreadImg(long id);
|
|
void updateInviteSpreadImg(SpreadImg spreadImg);
|
|
void addInviteFriendImg(SpreadImg spreadImg, String url);
|
|
void updateInviteRank(BigDecimal bigDecimalMoney);
|
|
List<String> systemSpreadImgList();
|
|
/**
|
* 获取二维码分享图
|
*
|
* @param uid
|
* @return
|
*/
|
List<SpreadImg> getSpreadImg(Long uid);
|
|
/**
|
*
|
* 方法说明: 获取活动规则
|
* @author mawurui
|
* createTime 2018年5月16日 下午3:34:27
|
* @return
|
*/
|
String getActivityRules(String key);
|
|
/**
|
*
|
* 方法说明: 根据指定key修改活动规则
|
* @author mawurui
|
* createTime 2018年5月16日 下午3:48:50
|
* @param value
|
* @param key
|
*/
|
void editActivityRules(String value, String key);
|
}
|