加入非空校验
This commit is contained in:
@@ -3994,11 +3994,12 @@ public class PythonService {
|
|||||||
// }
|
// }
|
||||||
//**********************end***********************************
|
//**********************end***********************************
|
||||||
//临时补丁
|
//临时补丁
|
||||||
if (category.split("_")[0].equals("male")&&style.toLowerCase().equals("lolita")){
|
if (category != null && style != null) {
|
||||||
style=null;
|
String categoryPrefix = category.split("_")[0];
|
||||||
}
|
if ("male".equals(categoryPrefix) &&
|
||||||
if (category.split("_")[0].equals("male")&&style.toLowerCase().equalsIgnoreCase("romantic")){
|
(style.equalsIgnoreCase("lolita") || style.equalsIgnoreCase("romantic"))) {
|
||||||
style=null;
|
style = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
AuthPrincipalVo userHolder = UserContext.getUserHolder();
|
AuthPrincipalVo userHolder = UserContext.getUserHolder();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user