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.

23 lines
571 B

package controller
import (
"context"
"tyj_admin/api/v1/game"
"tyj_admin/internal/serviceGame"
)
var GameBug = bugController{}
type bugController struct {
BaseController
}
func (c *bugController) List(ctx context.Context, req *game.ClientBugListReq) (res *game.ClientBugListRes, err error) {
res, err = serviceGame.GameClientBug().List(ctx, req)
return
}
func (c *bugController) UpdateState(ctx context.Context, req *game.OperateClientBugReq) (res *game.OperateClientBugRes, err error) {
res, err = serviceGame.GameClientBug().UpdateState(ctx, req)
return
}