mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
修正file_type参数不正确问题
This commit is contained in:
parent
bdb75841cf
commit
5adfc544a2
@ -15,7 +15,7 @@ import java.util.Base64
|
||||
.replace(regex = "[{}\\-]".toRegex(), replacement = "")
|
||||
.replace(" ", "")
|
||||
.split(".")[0].lowercase()
|
||||
val fileType = session.getString("type")
|
||||
val fileType = session.getString("file_type")
|
||||
return invoke(file, fileType, session.echo)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user