mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 20:35:16 +00:00
Unifies the output of the routing layer and the isolated response structure
This commit is contained in:
@@ -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