fix card start response error
This commit is contained in:
parent
87a897e6e8
commit
412bc9660e
@ -112,9 +112,10 @@ public class PileStartChargingDataLogic implements ServiceLogic {
|
||||
} else {
|
||||
String internalError = r.getMsg();
|
||||
if (internalError.startsWith("0") || internalError.startsWith("1")) {
|
||||
result = internalError;
|
||||
resultStr = internalError;
|
||||
} else {
|
||||
log.error(internalError);
|
||||
resultStr = "1C";
|
||||
log.error("pile start charging internalError: {}", internalError);
|
||||
}
|
||||
}
|
||||
cardNo = StringUtils.leftPad(iccardInfo.getCardno(), 16, "0");
|
||||
|
||||
@ -61,6 +61,7 @@
|
||||
<!-- 系统模块日志级别控制 -->
|
||||
<logger name="com.xhpc.pp.logic" level="debug"/>
|
||||
<logger name="com.xhpc.pp.server" level="debug"/>
|
||||
<logger name="com.xhpc.pp.controller" level="debug"/>
|
||||
<!-- Spring日志级别控制 -->
|
||||
<logger name="org.springframework" level="warn"/>
|
||||
<!-- nacos -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user