完成游戏人生账号绑定、解绑、绑定信息的接口开发
This commit is contained in:
5
internal/controller/task/task.go
Normal file
5
internal/controller/task/task.go
Normal file
@ -0,0 +1,5 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package task
|
||||
15
internal/controller/task/task_new.go
Normal file
15
internal/controller/task/task_new.go
Normal file
@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package task
|
||||
|
||||
import (
|
||||
"server/api/task"
|
||||
)
|
||||
|
||||
type ControllerV1 struct{}
|
||||
|
||||
func NewV1() task.ITaskV1 {
|
||||
return &ControllerV1{}
|
||||
}
|
||||
14
internal/controller/task/task_v1_ranking.go
Normal file
14
internal/controller/task/task_v1_ranking.go
Normal file
@ -0,0 +1,14 @@
|
||||
package task
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/gogf/gf/v2/errors/gcode"
|
||||
"github.com/gogf/gf/v2/errors/gerror"
|
||||
|
||||
"server/api/task/v1"
|
||||
)
|
||||
|
||||
func (c *ControllerV1) Ranking(ctx context.Context, req *v1.RankingReq) (res *v1.RankingRes, err error) {
|
||||
return nil, gerror.NewCode(gcode.CodeNotImplemented)
|
||||
}
|
||||
Reference in New Issue
Block a user