支付分析
This commit is contained in:
@@ -125,25 +125,3 @@ func (c *OrderController) GetPayStatistics() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 收益统计
|
||||
// @Description 收益统计
|
||||
// @Param token header string true "认证token"
|
||||
// @Param userID query string false "用户id"
|
||||
// @Param pop query int false "1为你邀请的,0为全部"
|
||||
// @Param cityCodes query string false "城市id列表"
|
||||
// @Param mobile query string false "用户手机,必须全匹配"
|
||||
// @Param fromTime query string false "消费开始时间"
|
||||
// @Param toTime query string false "消费结束时间"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetIncomeStatistics [get]
|
||||
func (c *OrderController) GetIncomeStatistics() {
|
||||
c.callGetIncomeStatistics(func(params *tOrderGetIncomeStatisticsParams) (retVal interface{}, errCode string, err error) {
|
||||
var cityCodes []int
|
||||
if err = jxutils.Strings2Objs(params.CityCodes, &cityCodes); err == nil {
|
||||
retVal, err = cms.GetIncomeStatistics(params.Ctx, params.UserID, params.Pop, cityCodes, params.Mobile, params.FromTime, params.ToTime)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user