From cf96f6bc1fb484fde16bd5ed6d49534c96958022 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 25 九月 2023 15:43:12 +0800
Subject: [PATCH] fix
---
conf/apsClient.json | 4 ++--
api/v1/task.go | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/api/v1/task.go b/api/v1/task.go
index e93f396..480a58f 100644
--- a/api/v1/task.go
+++ b/api/v1/task.go
@@ -69,7 +69,7 @@
params.Page = 1
- if params.Page <= 0 {
+ if params.PageSize <= 0 {
params.PageSize = channelAmount
}
diff --git a/conf/apsClient.json b/conf/apsClient.json
index 6517576..28c3c8b 100644
--- a/conf/apsClient.json
+++ b/conf/apsClient.json
@@ -29,8 +29,8 @@
"nsqlookupdAddr":""
},
"plc": {
- "finishNumberTimeInterval": 0,
- "totalNumberTimeInterval": 0,
+ "finishNumberTimeInterval": 10,
+ "totalNumberTimeInterval": 100,
"modbusIntType": "DINT",
"slaveId": 0,
"package": "goborrow",
--
Gitblit v1.8.0