From 62bce0f1102690a7254c7f805182d6f052d6480c Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 05 Jan 2022 08:42:01 +0800
Subject: [PATCH] 1.敏感词
---
src/main/java/org/springblade/modules/survey/controller/SurveyController.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/survey/controller/SurveyController.java b/src/main/java/org/springblade/modules/survey/controller/SurveyController.java
index 73ac513..03edbf3 100644
--- a/src/main/java/org/springblade/modules/survey/controller/SurveyController.java
+++ b/src/main/java/org/springblade/modules/survey/controller/SurveyController.java
@@ -188,7 +188,7 @@
String address= "localhost:80/"+fileName;
//文件新增
Wj wj = new Wj();
- wj.setSid(sid);
+ wj.setSid(Integer.parseInt(sid));
wj.setAddress(address);
iWjService.insertsurvey(wj);
map.put("id", wj.getId());
--
Gitblit v1.9.3