v1.0.0
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user