This commit is contained in:
Sun
2023-11-08 21:53:07 +08:00
commit 211c3071dc
245 changed files with 39293 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package system
import (
"sun-panel/api/api_v1/common/apiReturn"
"sun-panel/lib/cmn"
"github.com/gin-gonic/gin"
)
type About struct {
}
func (a *About) Get(c *gin.Context) {
version := cmn.GetSysVersionInfo()
apiReturn.SuccessData(c, gin.H{
"versionName": version.Version,
"versionCode": version.Version_code,
})
}