bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user