zhangzengfei
2024-04-19 71acc6fbca173323d3dfbb201425eeab2029b8a3
controller/systemCtl.go
@@ -63,6 +63,7 @@
      return
   }
   // 上报设备信息
   var d = models.Device{
      Id: req.KeepaliveObject.DeviceID,
   }
@@ -108,6 +109,7 @@
// 时间校准
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"),