当style为洛丽塔时无sketch和谷歌风控问题FIX
This commit is contained in:
@@ -4051,7 +4051,7 @@ public class PythonService {
|
||||
String responseBody = response.body().string();
|
||||
List<String> imagePaths = JSON.parseArray(responseBody, String.class);
|
||||
|
||||
if (imagePaths == null || imagePaths.isEmpty()) {
|
||||
if (imagePaths == null || imagePaths.isEmpty()|| imagePaths.size() == 0) {
|
||||
log.warn("Empty recommendation result for {}", category);
|
||||
return getSystemSketchByCategory(category,brandId,brandScale,null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user