aa
This commit is contained in:
@@ -158,3 +158,29 @@ func (c *ReportController) UserMemberReport() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 统计语音短信收费
|
||||
// @Description 统计语音短信收费
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs query string false "门店ID列表[1,2,3]"
|
||||
// @Param brandIDs query string false "品牌ID列表[1,2,3]"
|
||||
// @Param vendorID query int false "平台ID"
|
||||
// @Param notifyType query int false "-1 表示全部,1表示短信,2表示语音"
|
||||
// @Param keyword query string false "关键字"
|
||||
// @Param fromTime query string true "开始日期(包含),格式(2006-01-02 00:00:00)"
|
||||
// @Param toTime query string true "结束日期(包含),格式(2006-01-02 00:00:00)"
|
||||
// @Param isFinished query bool false "默认下单时间,true是订单完成时间"
|
||||
// @Param offset query int false "门店列表起始序号(以0开始,缺省为0)"
|
||||
// @Param pageSize query int false "门店列表页大小(缺省为50,-1表示全部)"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /OrderNotifyReport [get]
|
||||
func (c *ReportController) OrderNotifyReport() {
|
||||
c.callOrderNotifyReport(func(params *tReportOrderNotifyReportParams) (retVal interface{}, errCode string, err error) {
|
||||
var storeIDs, brandIDs []int
|
||||
if err = jxutils.Strings2Objs(params.StoreIDs, &storeIDs, params.BrandIDs, &brandIDs); err == nil {
|
||||
retVal, err = report.OrderNotifyReport(params.Ctx, storeIDs, brandIDs, params.VendorID, params.NotifyType, params.Keyword, params.IsFinished, params.FromTime, params.ToTime, params.Offset, params.PageSize)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user