|
|
|
@ -76,6 +76,8 @@ public class ApiGoodsUtils { |
|
|
|
public static GoodsDetail jsonToGoodsDetail(JSONObject json,JSONObject nodejson){ |
|
|
|
// 抽取出sourcedata
|
|
|
|
String sprice = json.getString("price"); |
|
|
|
//删除价格中的letter
|
|
|
|
sprice = sprice.replace("RMB ",""); |
|
|
|
float price = Float.valueOf(sprice); |
|
|
|
|
|
|
|
GoodsDetail goodsDetail = new GoodsDetail(); |
|
|
|
|