unionorder
This commit is contained in:
@@ -167,3 +167,23 @@ func (c *OrderController) GetManageStatisticsJob() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 查询我的推广订单
|
||||
// @Description 查询我的推广订单
|
||||
// @Param token header string true "认证token"
|
||||
// @Param statuss query string false "状态s"
|
||||
// @Param vendorID query int false "-1 全部"
|
||||
// @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 /GetMyUnionOrders [get]
|
||||
func (c *OrderController) GetMyUnionOrders() {
|
||||
c.callGetMyUnionOrders(func(params *tOrderGetMyUnionOrdersParams) (retVal interface{}, errCode string, err error) {
|
||||
var statuss []int
|
||||
if err = jxutils.Strings2Objs(params.Statuss, &statuss); err == nil {
|
||||
retVal, err = cms.GetMyUnionOrders(params.Ctx, statuss, params.VendorID, params.Offset, params.PageSize)
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user