| @@ -57,7 +57,6 @@ public class TtGoodLifeSaasGoodsServiceImpl implements TtGoodLifeSaasGoodsServic | |||||
| String param = "category_id=" + category_id | String param = "category_id=" + category_id | ||||
| + "&product_type=" + product_type; | + "&product_type=" + product_type; | ||||
| String result = this.service.execute(getExecutor, apiUrl, param); | String result = this.service.execute(getExecutor, apiUrl, param); | ||||
| return GSON.fromJson(result, GoodsTemplateGet.class); | return GSON.fromJson(result, GoodsTemplateGet.class); | ||||
| } | } | ||||
| @@ -156,13 +156,13 @@ public class Product implements Serializable { | |||||
| * poi id,保存时不必填写 | * poi id,保存时不必填写 | ||||
| */ | */ | ||||
| @SerializedName(value = "poi_id") | @SerializedName(value = "poi_id") | ||||
| private Long poiId; | |||||
| private String poiId; | |||||
| /** | /** | ||||
| * 店铺id,保存时不必填写 | * 店铺id,保存时不必填写 | ||||
| */ | */ | ||||
| @SerializedName(value = "supplier_id") | @SerializedName(value = "supplier_id") | ||||
| private Long supplierId; | |||||
| private String supplierId; | |||||
| } | } | ||||
| @@ -263,7 +263,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService { | |||||
| if (!isSaas) { | if (!isSaas) { | ||||
| poiStruct.setSupplierExtId(poi.getSupplierExtId()); | poiStruct.setSupplierExtId(poi.getSupplierExtId()); | ||||
| }else { | }else { | ||||
| poiStruct.setPoiId(Long.parseLong(poi.getPoiId())); | |||||
| poiStruct.setPoiId(poi.getPoiId()); | |||||
| } | } | ||||
| poiList.add(poiStruct); | poiList.add(poiStruct); | ||||
| } | } | ||||