| | |
| | | package controller |
| | | |
| | | import ( |
| | | "gat1400Exchange/service" |
| | | "net/http" |
| | | "time" |
| | | |
| | |
| | | return |
| | | } |
| | | |
| | | service.KeepDeviceAlive(req.KeepaliveObject.DeviceID) |
| | | |
| | | rspMsg := vo.ResponseStatus{ |
| | | RequestURL: c.FullPath(), |
| | | StatusCode: vo.StatusSuccess, |
| | |
| | | } |
| | | |
| | | // 删库 |
| | | |
| | | rspMsg := vo.ResponseStatus{ |
| | | RequestURL: c.FullPath(), |
| | | StatusCode: vo.StatusSuccess, |
| | |
| | | |
| | | // 时间校准 |
| | | func (s SystemController) Time(c *gin.Context) { |
| | | //iTime, _ := strconv.ParseInt(time.Now().Format("20060102150405"), 10, 64) |
| | | rspMsg := vo.ResponseSystemTime{ |
| | | VIIDServerID: config.ServeConf.ID, |
| | | LocalTime: time.Now().Format("20060102150405"), |