TASK:BrandDNA
This commit is contained in:
@@ -80,11 +80,12 @@ public class ProductImageServiceImpl implements ProductImageService {
|
||||
JSONObject obj = data.getJSONObject(i);
|
||||
String gender = library.getLevel3Type();
|
||||
String category = null;
|
||||
if (gender.equals("Female")) {
|
||||
category = obj.getString("category_female");
|
||||
/*if (gender.equals("Female")) {
|
||||
category = obj.getString("category_female");
|
||||
}else if (gender.equals("Male")) {
|
||||
category = obj.getString("category_male");
|
||||
}
|
||||
}*/
|
||||
String imgUrl = obj.getString("img_url");
|
||||
// JSONObject attribute = obj.getJSONObject("attribute");
|
||||
// AttributeRecognitionJSON attrJSON = attribute.toJavaObject(AttributeRecognitionJSON.class);
|
||||
|
||||
Reference in New Issue
Block a user