This commit is contained in:
麒麟
2023-09-11 23:16:00 +08:00
parent 295e1771ab
commit 595e1a8c20
6 changed files with 42 additions and 47 deletions

View File

@@ -17,16 +17,16 @@ public class Interceptor implements HandlerInterceptor {
request.setCharacterEncoding("utf-8");
if(
(Utils.getPeoperties("aliNotifyUrl")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("appid")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("private_key")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("public_key")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("pwd")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("dburl")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("dbport")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("dbname")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("dbusername")+"").replace("null","").trim().length()<1
|| (Utils.getPeoperties("dbpassword")+"").replace("null","").trim().length()<1
Utils.getPeoperties("aliNotifyUrl").replace("null","").trim().length()<1
|| Utils.getPeoperties("appid").replace("null","").trim().length()<1
|| Utils.getPeoperties("private_key").replace("null","").trim().length()<1
|| Utils.getPeoperties("public_key").replace("null","").trim().length()<1
|| Utils.getPeoperties("pwd").replace("null","").trim().length()<1
|| Utils.getPeoperties("dburl").replace("null","").trim().length()<1
|| Utils.getPeoperties("dbport").replace("null","").trim().length()<1
|| Utils.getPeoperties("dbname").replace("null","").trim().length()<1
|| Utils.getPeoperties("dbusername").replace("null","").trim().length()<1
|| Utils.getPeoperties("dbpassword").replace("null","").trim().length()<1
){
response.sendRedirect("./install.html");
return false;