You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
580 B
25 lines
580 B
package wallet
|
|
|
|
type queryTeamIncomeParam struct {
|
|
UserID uint `json:"userId"`
|
|
Page uint `json:"page"`
|
|
}
|
|
|
|
/*
|
|
团队累计业绩 都是已经确认成功的订单
|
|
*/
|
|
//func QuerySumTeamIncomeList(c *gin.Context) {
|
|
// var p queryTeamIncomeParam
|
|
// if err := tools.ParseParams(&p, c); err != nil {
|
|
// back.Fail(c, err.Error())
|
|
// return
|
|
// }
|
|
//
|
|
// list := make([]user.WalletBalanceList, 0, 0)
|
|
// dbc.DB.Select("amount, created_at").
|
|
// Limit(20).Offset(20*p.Page).Order("id desc").
|
|
// Find(&list, "user_id = ? AND income_type = 3", p.UserID)
|
|
//
|
|
// back.Suc(c, "", list)
|
|
//}
|