diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypUniBss.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypUniBss.java new file mode 100644 index 0000000..e53c21c --- /dev/null +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/entity/CrypUniBss.java @@ -0,0 +1,28 @@ +package com.chinaunicom.mall.ebtp.extend.crypconfigure.entity; + +import com.alibaba.fastjson.annotation.JSONField; +import com.chinaunicom.mall.ebtp.common.uniBss.entity.UniBss; +import com.chinaunicom.mall.ebtp.common.uniBss.entity.UniBssAttached; +import com.chinaunicom.mall.ebtp.common.uniBss.entity.UniBssBody; +import com.chinaunicom.mall.ebtp.common.uniBss.entity.UniBssHead; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Map; + +/** +* 实体类 CrypConfigure-区块链参数配置表 +* +* @author yss +*/ +@Data +public class CrypUniBss { + @JSONField(name = "UNI_BSS_ATTACHED") + private UniBssAttached uniBssAttached; + @JSONField(name = "UNI_BSS_BODY") + private Map uniBssBodyMap; + @JSONField(name = "UNI_BSS_HEAD") + private UniBssHead uniBssHead; + + +} diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java index bb3634d..2d05cab 100644 --- a/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java +++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/crypconfigure/service/impl/CrypConfigureServiceImpl.java @@ -27,6 +27,7 @@ import com.chinaunicom.mall.ebtp.extend.crypconfigure.crypto.service.CrypService import com.chinaunicom.mall.ebtp.extend.crypconfigure.dao.CrypConfigureMapper; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypBean; import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypConfigure; +import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypUniBss; import com.chinaunicom.mall.ebtp.extend.crypconfigure.service.ICrypConfigureService; import com.chinaunicom.mall.ebtp.extend.crypconfigure.util.SslUtil; import com.chinaunicom.mall.ebtp.extend.uniBss.UniBssUtil; @@ -123,7 +124,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl map) { - UniBss uniBss = new UniBss(); + CrypUniBss uniBss = new CrypUniBss(); uniBss.setUniBssAttached(new UniBssAttached().setMediaInf("")); //天擎部分head UniBssUtil util = new UniBssUtil(app_id, app_secret);