feat:完善项目管理

This commit is contained in:
henry
2021-12-16 13:22:14 +08:00
parent 8ab89cc051
commit d594725972
9 changed files with 209 additions and 1 deletions

View 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)
}