feat:完善项目管理
This commit is contained in:
19
app/api/website/api/sys.go
Normal file
19
app/api/website/api/sys.go
Normal file
@ -0,0 +1,19 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"SciencesServer/app/api/website/controller"
|
||||
"SciencesServer/app/basic/api"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type Sys struct{}
|
||||
|
||||
func (*Sys) Platform(c *gin.Context) {
|
||||
data, err := controller.NewPlatform()().Instance()
|
||||
api.APIResponse(err, data)(c)
|
||||
}
|
||||
|
||||
func (*Sys) Navigation(c *gin.Context) {
|
||||
data, err := controller.NewNavigation()().Instance()
|
||||
api.APIResponse(err, data)(c)
|
||||
}
|
||||
Reference in New Issue
Block a user