log:智能审批增加日志输出

This commit is contained in:
zzs 2024-10-11 09:18:17 +08:00
parent d60d14e2e5
commit e65d62ea53

View File

@ -42,6 +42,8 @@ import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.message.BasicHeader;
import org.apache.http.util.EntityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
@ -57,6 +59,9 @@ import java.util.List;
import java.util.Map;
public class YunzhijiaUtils {
private final static Logger logger = LoggerFactory.getLogger(YunzhijiaUtils.class);
public static String yzjurl = "http://10.64.113.120:8080";//测试
public static String getOpenId(String phonNum) throws IOException, NoSuchAlgorithmException, KeyManagementException {
String req ="{\"type\":0,\"array\":[\""+phonNum+"\"]}";
@ -334,9 +339,10 @@ public class YunzhijiaUtils {
yemIalog.set("yem_error", ex.toString());//异常信息
addErrMessage(operationResult, dynamicObject, "云之家接口调用异常:" + ex.toString());
}
// SaveServiceHelper.save(new DynamicObject[]{yemIalog});
} finally {
SaveServiceHelper.save(new DynamicObject[]{yemIalog});
}
SaveServiceHelper.save(new DynamicObject[]{yemIalog});
}
/**
* 向操作结果添加一条错误提示