From 1773bcb483d0a1c06e45a6e748719cb24818ee4a Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 01 十一月 2023 11:41:50 +0800 Subject: [PATCH] fix --- service/process_model.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/service/process_model.go b/service/process_model.go index bb42646..d1154a3 100644 --- a/service/process_model.go +++ b/service/process_model.go @@ -6,7 +6,7 @@ ) func GetProcessModelList(offset, limit int, currentNumber string) (list []*model.ProcessModel, total int64, err error) { - device, err := model.NewDeviceSearch().SetDeviceId(conf.Conf.System.DeviceId).First() + device, err := model.NewDeviceSearch().SetDeviceId(conf.Conf.CurrentDeviceID).First() if err != nil { return } -- Gitblit v1.8.0