//import "model.api" type ( UserReq { BaseID *Pagination } ) @server( group: user_admin prefix: /api/admin/user jwt: Auth middleware: Authority ) service api { // Create user | 创建用户 @handler createUserAdmin post /create (UserInfo) returns (BaseID) // Get user | 获取用户 @handler getUserAdmin get / (UserReq) returns (UserInfo) // Delete user | 删除用户 @handler deleteUserAdmin post / (BaseID) }