优化首页内容

This commit is contained in:
georgehao
2019-07-06 17:05:19 +08:00
parent 37fb659c4e
commit 6a30e9265c
49 changed files with 1060 additions and 729 deletions

View File

@@ -11,6 +11,8 @@ import (
"strings"
"time"
"fmt"
"strconv"
"github.com/astaxie/beego"
@@ -53,6 +55,7 @@ func (self *ServerGroupController) AjaxSave() {
servergroup_id, _ := self.GetInt("id")
fmt.Println(servergroup_id)
if servergroup_id == 0 {
//新增
servergroup.CreateTime = time.Now().Unix()