Merge branch 'uat_保证金天擎调用' into 'uat_code'

增加日志

See merge request eshop/biz_service_ebtp_extend!102
This commit is contained in:
张芹彬
2022-07-01 09:58:27 +08:00

View File

@ -9,6 +9,8 @@ import com.chinaunicom.mall.ebtp.extend.blockchain.entity.BlockChainLogVo;
import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypBean; 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.CrypConfigure;
import com.chinaunicom.mall.ebtp.extend.crypconfigure.service.ICrypConfigureService; import com.chinaunicom.mall.ebtp.extend.crypconfigure.service.ICrypConfigureService;
import lombok.extern.slf4j.Slf4j;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
@ -21,6 +23,7 @@ import javax.annotation.Resource;
import javax.validation.Valid; import javax.validation.Valid;
import java.util.List; import java.util.List;
@Slf4j
@RestController @RestController
@Api(value = "区块链参数配置表") @Api(value = "区块链参数配置表")
@RequestMapping("/v1/crypconfigure") @RequestMapping("/v1/crypconfigure")
@ -129,8 +132,9 @@ public class CrypConfigureController{
@ApiOperation("调用天擎接口") @ApiOperation("调用天擎接口")
@PostMapping("/callUniInterfaceJson") @PostMapping("/callUniInterfaceJson")
public BaseResponse<String> callUniInterfaceJson(@RequestBody CrypBean bean) { public BaseResponse<String> callUniInterfaceJson(@RequestBody CrypBean bean) {
String str = this.iCrypConfigureService.callUniInterfaceJson(bean);
return BaseResponse.success(this.iCrypConfigureService.callUniInterfaceJson(bean)); log.info("----调用天擎接口---callUniInterfaceJson-------:"+str);
return BaseResponse.success(str);
} }
/** /**