Changes
This commit is contained in:
@@ -40,6 +40,10 @@ public class SydApi4Database implements SydApi {
|
||||
@Override
|
||||
public void SYD_Disconnect_Ex() {
|
||||
if (isShortLinkMode) {
|
||||
if ( null == hsms ){
|
||||
return;
|
||||
}
|
||||
|
||||
SydApi4j api = hsms[0];
|
||||
if (null != api) {
|
||||
try {
|
||||
@@ -57,9 +61,6 @@ public class SydApi4Database implements SydApi {
|
||||
if (LogFactory.iLogLevel==3) {
|
||||
log.debug("SYD_SM3_Hash_ShortData方法接收参数:pcData:{}", Arrays.toString(pcData));
|
||||
}
|
||||
if (pcData.length==0){
|
||||
throw new SydApiException(-19);
|
||||
}
|
||||
if (null == this.hsms || this.hsms.length < 1) {
|
||||
throw new SydApiException(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user