|
|
|
@ -29,7 +29,8 @@ public class ApiGoodsUtils { |
|
|
|
goodsSource.setLinkcode(innerJson.getString("linkCode")); |
|
|
|
// 发布 id
|
|
|
|
String pubid = innerJson.getString("publisherId"); |
|
|
|
goodsSource.setPublisherid(Integer.valueOf(pubid)); |
|
|
|
Integer ipubid = StringUtils.isNotBlank(pubid)?Integer.valueOf(pubid):0; |
|
|
|
goodsSource.setPublisherid(ipubid); |
|
|
|
goodsSource.setRegistrant(innerJson.getString("register")); |
|
|
|
goodsSource.setResolutionUrl(innerJson.getString("resolutionUrl")); |
|
|
|
goodsSource.setSourceType(innerJson.getString("sourceType")); |
|
|
|
|