提交 fc949d86 编写于 作者: J jackjintai

android:新增相对路径

上级 869e22ea
......@@ -103,7 +103,8 @@ val DoKitFileRouter: Application.() -> Unit = {
val dirPath = FileManagerUtil.absoluteRootPath(queryParameters["dirPath"])
val fileType = queryParameters["fileType"]
val fileName = queryParameters["fileName"]
call.respond(FileDetailAction.fileDetailInfoRes("$dirPath${File.separator}$fileName", fileType))
val filePath = "$dirPath${File.separator}$fileName"
call.respond(FileDetailAction.fileDetailInfoRes(filePath, fileType))
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册