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