mirror of https://gitee.com/maxjhandsome/pig
🔖 🔖 🔖 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:
parent
7db288afc1
commit
676744000c
|
@ -98,7 +98,7 @@ mvn archetype:generate \
|
||||||
-Dpackage=com.pig4cloud.pig.demo \
|
-Dpackage=com.pig4cloud.pig.demo \
|
||||||
-DarchetypeGroupId=com.pig4cloud.archetype \
|
-DarchetypeGroupId=com.pig4cloud.archetype \
|
||||||
-DarchetypeArtifactId=pig-gen \
|
-DarchetypeArtifactId=pig-gen \
|
||||||
-DarchetypeVersion=3.1.4 \
|
-DarchetypeVersion=3.2.0 \
|
||||||
-DarchetypeCatalog=local
|
-DarchetypeCatalog=local
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,6 @@ import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpSession;
|
import javax.servlet.http.HttpSession;
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -195,7 +194,7 @@ public class PigTokenEndpoint {
|
||||||
try {
|
try {
|
||||||
cursor.close();
|
cursor.close();
|
||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (Exception e) {
|
||||||
log.error("关闭cursor 失败");
|
log.error("关闭cursor 失败");
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue