fix: 修改日志export指令的临时文件位置及上传方式 #1546
Open
+180
−30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
由于原代码输出txt文件至tmp目录,导致容器运行时,无法正常上传文件到群文件。
考虑到对容器映射/tmp目录是不合理也不优雅的,尝试移动生成的临时文件到海豹数据目录位置。
修复censor_log表不存在导致的数据库报错