7 Star 1 Fork 1

罗中天/douyin

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
user.go 824 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by hertz generator. DO NOT EDIT.
package User
import (
user "gitee.com/derrickball/douyin/app/api/biz/handler/user"
"github.com/cloudwego/hertz/pkg/app/server"
)
/*
This file will register all the routes of the services in the master idl.
And it will update automatically when you use the "update" command for the idl.
So don't modify the contents of the file, or your code will be deleted when it is updated.
*/
// Register register routes based on the IDL 'api.${HTTP Method}' annotation.
func Register(r *server.Hertz) {
root := r.Group("/", rootMw()...)
{
_douyin := root.Group("/douyin", _douyinMw()...)
{
_user := _douyin.Group("/user", _userMw()...)
_user.GET("/", append(_user0Mw(), user.User)...)
_user.POST("/register/", append(_registerMw(), user.Register)...)
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/derrickball/douyin.git
git@gitee.com:derrickball/douyin.git
derrickball
douyin
douyin
48d44dfe16fa

搜索帮助