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
603 B

package controller
import (
"context"
"tyj_admin/api/v1/game"
"tyj_admin/internal/serviceGame"
)
var GameOrder = orderController{}
type orderController struct {
BaseController
}
// mail 列表
func (c *mailController) OrderList(ctx context.Context, req *game.OrderSearchReq) (res *game.OrderSearchRes, err error) {
res, err = serviceGame.GameOrder().GetOrders(ctx, req)
return
}
// 订单统计数据
func (c *mailController) OrderCount(ctx context.Context, req *game.OrderCountReq) (res *game.OrderCountRes, err error) {
res, err = serviceGame.GameOrder().GetOrderCount(ctx, req)
return
}