代码拉取完成,页面将自动刷新
// 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)...)
// }
//}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。