Commit f714b421 by 王欣伟

修改车安全产品信息获取

1 parent 4b57722b
......@@ -8,6 +8,7 @@ import java.util.stream.Collectors;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.glsx.smart.constant.Constants;
import com.glsx.smart.dao.entity.SmartDeviceOrder;
import com.glsx.smart.dao.entity.SmartProduct;
import com.glsx.smart.dao.entity.SmartSysCode;
......@@ -262,7 +263,7 @@ public class SmartProductServiceImpl extends BaseService implements SmartProduct
//productInfo.put("id", product.getId());
productInfo.put("name", product.getProductName());
productInfo.put("icon", product.getIconUrl());
productInfo.put("typeId", product.getNetworkKey());
productInfo.put("typeId", (product.getPlatformKey().equals(Constants.PlatformKey.didihu))?product.getPlatformProductId():product.getNetworkKey());
productInfo.put("shopProductId", product.getShopProductId());
productInfo.put("platformKey", product.getPlatformKey());
productInfo.put("channel", DeviceChannelEnum.getChannelByPlatformKey(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!