feat:完善项目管理,增加网站首页接口信息
This commit is contained in:
1
app/api/website/api/docking.go
Normal file
1
app/api/website/api/docking.go
Normal file
@ -0,0 +1 @@
|
||||
package api
|
||||
@ -1,7 +1,14 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"SciencesServer/app/api/website/controller"
|
||||
"SciencesServer/app/basic/api"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type Index struct{}
|
||||
|
||||
func (*Index) Instance() {
|
||||
|
||||
func (*Index) Instance(c *gin.Context) {
|
||||
data, err := controller.NewIndex()(nil, "").Instance()
|
||||
api.APIResponse(err, data)(c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user