feiyu02
2022-07-28 e844ef2fdab88508e7dff4bb9e7b1632fcce15b2
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/impl/MediafileServiceImpl.kt
@@ -79,7 +79,7 @@
                val filePath = "${Constant.DEFAULT_FILE_PATH}/images/$path/"
                try {
                    //调用文件保存方法
                    FileUtil().uploadFile(image.bytes, filePath, fileName!!)
                    FileUtil.uploadFile(image.bytes, filePath, fileName!!)
                } catch (e: Exception) {
                    // TODO: handle exception
                }