7 Star 1 Fork 1

罗中天 / douyin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
relation.go 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
黎博凯 提交于 2023-02-16 10:20 . merge: 合并chat修复重复漏洞
// Code generated by hertz generator. DO NOT EDIT.
package Relation
import (
relation "gitee.com/derrickball/douyin/app/api/biz/handler/relation"
"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()...)
{
_relation := _douyin.Group("/relation", _relationMw()...)
{
_action := _relation.Group("/action", _actionMw()...)
_action.POST("/", append(__ctionMw(), relation.Action)...)
}
{
_follow := _relation.Group("/follow", _followMw()...)
{
_list := _follow.Group("/list", _listMw()...)
_list.GET("/", append(_followlistMw(), relation.FollowList)...)
}
}
{
_follower := _relation.Group("/follower", _followerMw()...)
{
_list0 := _follower.Group("/list", _list0Mw()...)
_list0.GET("/", append(_followerlistMw(), relation.FollowerList)...)
}
}
//{
// _friend := _relation.Group("/friend", _friendMw()...)
// {
// _list1 := _friend.Group("/list", _list1Mw()...)
// _list1.GET("/", append(_friendlistMw(), relation.FriendList)...)
// }
//}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/derrickball/douyin.git
git@gitee.com:derrickball/douyin.git
derrickball
douyin
douyin
48d44dfe16fa

搜索帮助

344bd9b3 5694891 D2dac590 5694891