Unifies the output of the routing layer and the isolated response structure
This commit is contained in:
11
server/model/response/sys_api.go
Normal file
11
server/model/response/sys_api.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package response
|
||||
|
||||
import "gin-vue-admin/model"
|
||||
|
||||
type SysAPIResponse struct {
|
||||
Api model.SysApi `json:"api"`
|
||||
}
|
||||
|
||||
type SysAPIListResponse struct {
|
||||
Apis []model.SysApi `json:"apis"`
|
||||
}
|
Reference in New Issue
Block a user