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