init
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 基础统计
|
||||
* @returns {*}
|
||||
*/
|
||||
export function staticIndex() {
|
||||
return request({
|
||||
url: '/cai/home/static/index',
|
||||
@@ -7,6 +11,20 @@ export function staticIndex() {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 排行榜
|
||||
* @param rankType 类型 1-魅力榜 2-邀请榜 3-充值榜 4-提现榜
|
||||
* @param rankTime 时间统计 Day-日榜 Week-周榜 Month-月榜 Total-总榜
|
||||
* @returns 返回值
|
||||
* @Schema(description = "头像")
|
||||
* private String avatar;
|
||||
* @Schema(description = "昵称")
|
||||
* private String nickname;
|
||||
* @Schema(description = "蜜瓜号")
|
||||
* private String usercode;
|
||||
* @Schema(description = "数值")
|
||||
* private Number value;
|
||||
*/
|
||||
export function staticRank(rankType,rankTime) {
|
||||
return request({
|
||||
url: '/cai/home/static/rank',
|
||||
@@ -17,6 +35,30 @@ export function staticRank(rankType,rankTime) {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 折线图
|
||||
* @param beginDate 开始时间 yyyy-MM-dd
|
||||
* @param endDate 结束时间 yyyy-MM-dd
|
||||
* @returns {*}
|
||||
* // x坐标
|
||||
* private List<String> x = new ArrayList<>();
|
||||
* @Schema(description = "充值金额")
|
||||
* private List<Number> expInMoneyData = new ArrayList<>();
|
||||
* @Schema(description = "充值订单数")
|
||||
* private List<Number> orderCountData = new ArrayList<>();
|
||||
* @Schema(description = "提现金额")
|
||||
* private List<Number> outMoneyData = new ArrayList<>();
|
||||
* @Schema(description = "提现数量")
|
||||
* private List<Number> cashCountData = new ArrayList<>();
|
||||
* @Schema(description = "手工减少余额数")
|
||||
* private List<Number> modifyCoinSubData = new ArrayList<>();
|
||||
* @Schema(description = "手工新增余额数")
|
||||
* private List<Number> modifyCoinAddData = new ArrayList<>();
|
||||
* @Schema(description = "手工减少收益数")
|
||||
* private List<Number> modifyIncomeSubData = new ArrayList<>();
|
||||
* @Schema(description = "手工新增余额数")
|
||||
* private List<Number> modifyIncomeAddData = new ArrayList<>();
|
||||
*/
|
||||
export function staticAmountLine(beginDate,endDate) {
|
||||
return request({
|
||||
url: '/cai/home/static/amountLine',
|
||||
|
||||
Reference in New Issue
Block a user