新增测试路由
This commit is contained in:
parent
60e9e89f87
commit
96788ec1f0
|
@ -25,6 +25,8 @@ type RequestApi struct {
|
|||
var Urls = [...]RequestApi{
|
||||
// 定义请求方式和路径
|
||||
{Mode: "get", RelativePath: "/sn", HandleFunction: DescribeSign},
|
||||
// 获取所有用户
|
||||
{Mode: "get", RelativePath: "/users", HandleFunction: api.DescribeUsers},
|
||||
// v1
|
||||
// 获取所有学生
|
||||
{GroupName: "v1", Mode: "get", RelativePath: "/students", HandleFunction: v1.DescribeStudents},
|
||||
|
|
Loading…
Reference in New Issue