vince
2024-06-14 a230c790107e4be5743473849bbc9aeb93583ddd
src/main/java/com/fzzy/gateway/hx2023/service/ScGatewayTestServiceImpl.java
@@ -1,5 +1,6 @@
package com.fzzy.gateway.hx2023.service;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.fzzy.api.data.DepotType;
import com.fzzy.api.data.GatewayDeviceType;
@@ -220,7 +221,7 @@
        weightInfo.setWeightUnit("KG");
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("weightInfo", weightInfo);
        jsonObject.put("weightInfo", JSON.toJSONString(weightInfo));
        packet.setProperties(jsonObject);