From e673885c64d5645c2c38e10ddfd922657afdc4cb Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 08 十二月 2023 11:31:03 +0800 Subject: [PATCH] 使用ip初始化雪花算法 --- model/index.go | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/model/index.go b/model/index.go index 1b12699..c00fb7c 100644 --- a/model/index.go +++ b/model/index.go @@ -26,9 +26,13 @@ PlcBrand{}, DevicePlc{}, ProcessModel{}, - ProductionProgress{}, Device{}, TaskStatusSync{}, + SystemStatus{}, + ProcessModelPlcAddress{}, + ReportsToCloud{}, + ReportWork{}, + Dashboard{}, ) } @@ -43,6 +47,7 @@ models := []interface{}{ NewNetConfigSearch(nil), NewPlcBrandSearch(), + NewSystemStatusSearch(), } for _, model := range models { -- Gitblit v1.8.0