🔖 🔖 🔖 v3.2.0 support spring boot 2.5

🔖 🔖 🔖 v3.2.0 support spring boot 2.5

🔖 🔖 🔖 v3.2.0 support spring boot 2.5
This commit is contained in:
lbw 2021-05-21 12:16:02 +08:00
parent 7db288afc1
commit 676744000c
3 changed files with 3 additions and 4 deletions

View File

@ -98,7 +98,7 @@ mvn archetype:generate \
-Dpackage=com.pig4cloud.pig.demo \
-DarchetypeGroupId=com.pig4cloud.archetype \
-DarchetypeArtifactId=pig-gen \
-DarchetypeVersion=3.1.4 \
-DarchetypeVersion=3.2.0 \
-DarchetypeCatalog=local
```

View File

@ -47,7 +47,6 @@ import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@ -195,7 +194,7 @@ public class PigTokenEndpoint {
try {
cursor.close();
}
catch (IOException e) {
catch (Exception e) {
log.error("关闭cursor 失败");
}
return result;