Files
honoka-chan/internal/handler/ghome/misc/integration.go
T
YumeMichi c77241a883 Overhaul [1/n]
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-01-29 02:42:28 +08:00

27 lines
446 B
Go

package misc
import (
"honoka-chan/internal/router"
"honoka-chan/internal/schema/ghome"
"honoka-chan/internal/session"
"github.com/gin-gonic/gin"
)
func appReport(ctx *gin.Context) {
ss := session.New(ctx)
defer ss.Finalize()
ss.Respond(ghome.AppReportResp{
Code: 0,
Msg: "",
Data: ghome.AppReportData{
NeedReport: 0,
},
})
}
func init() {
router.AddHandler("/", "GET", "/integration/appReport/initialize", appReport)
}