mac 支持 /home 文件夹,无需特殊处理

client 调整,将中文去除掉
This commit is contained in:
2023-12-14 10:33:56 +08:00
parent 2aaff4b59e
commit 47327e8bf1
14 changed files with 29 additions and 27 deletions

View File

@@ -182,7 +182,6 @@ public class AdminNettyController extends BaseApiController {
private static String getDocument(String barcode, String barcodeSn) throws IOException, InvalidFormatException {
String newFilePath = "/home/test/" + barcodeSn + ".docx";
// String newFilePath = "/Users/limqhz/home/test/" + barcodeSn + ".docx";
XWPFDocument document = new XWPFDocument();
XWPFParagraph paragraph = document.createParagraph();
paragraph.setAlignment(ParagraphAlignment.CENTER);

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF8"?>
<configuration>
<jmxConfigurator />
<property name="LOG_HOME" value="./logs/api"/>
<property name="LOG_HOME" value="/home/jar/logs/api"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">