adjustment

This commit is contained in:
mr
2025-03-28 08:46:50 +01:00
parent fe5163b3d9
commit 0cd3a9457e
7 changed files with 17 additions and 10 deletions

View File

@@ -14,6 +14,9 @@ type VersionController struct {
// @Success 200
// @router / [get]
func (c *VersionController) GetAll() {
c.Data["json"] = map[string]string{"version": "1"}
c.Data["json"] = map[string]string{
"service": "oc-peer",
"version": "1",
}
c.ServeJSON()
}