From a0442932178cd80db3c87689baffcabb82c9bc7b Mon Sep 17 00:00:00 2001 From: luyie Date: Tue, 13 Aug 2024 15:25:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?add:=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A8=A1=E7=89=88=E6=96=87=E4=BB=B6=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=A4=A7=E6=A8=A1=E5=9E=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims-big-model/src/main/resources/template/template.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hzims-service/hzims-big-model/src/main/resources/template/template.yml b/hzims-service/hzims-big-model/src/main/resources/template/template.yml index 066720f..06f3c39 100644 --- a/hzims-service/hzims-big-model/src/main/resources/template/template.yml +++ b/hzims-service/hzims-big-model/src/main/resources/template/template.yml @@ -73,4 +73,8 @@ xxl: ip: ${hzims.xxljob.ip} logpath: /data/applogs/xxl-job/jobhandler logretentiondays: 7 - port: 28135 \ No newline at end of file + port: 28135 +bigmodel: + zhipuai: + url: https://open.bigmodel.cn/api/paas/v4/chat/completions + apiSecret: dfd23052747674818c7ac6f9922beff1.n2o5JEdfnrLbFU53 \ No newline at end of file From 4cfbbdda45f8b10bacd0420676437edde58f20ff Mon Sep 17 00:00:00 2001 From: liwen Date: Tue, 13 Aug 2024 15:52:23 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update:=20=E5=AE=89=E5=85=A8=E5=B7=A5?= =?UTF-8?q?=E5=99=A8=E5=85=B7=E7=B1=BB=E5=9E=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java index 39bc18d..3d6dffb 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/SafetyToolTypeServiceImpl.java @@ -144,6 +144,9 @@ public class SafetyToolTypeServiceImpl extends ServiceImpl safetyToolTypePages = super.page(Condition.getPage(query), queryWrapper); IPage pages = new Page<>(); pages.setRecords(SafetyToolTypeWrapper.build().listVO(safetyToolTypePages.getRecords())); + pages.setTotal(safetyToolTypePages.getTotal()); + pages.setCurrent(safetyToolTypePages.getCurrent()); + pages.setSize(safetyToolTypePages.getSize()); return pages; }