|
|
|
@ -90,7 +90,7 @@ public class ApiGoodsUtils { |
|
|
|
goodsDetail.setGoodsImage(json.getString("cover")); |
|
|
|
goodsDetail.setPrice(new BigDecimal(sprice)); |
|
|
|
// 商品类型
|
|
|
|
int igtype = "文化资源数据".equalsIgnoreCase("collectionType")?1:2; |
|
|
|
int igtype = "文化资源数据".equalsIgnoreCase(json.getString("collectionType"))?1:2; |
|
|
|
goodsDetail.setGoodsType(igtype); |
|
|
|
//
|
|
|
|
int ictype = price<=0?1:2; |
|
|
|
|