优化
This commit is contained in:
1 parent
70d6d50e8a
commit
b501fa6af6
1 file changed
+1
@@ -15,6 +15,7 @@ object DirectLinkUpload {
|
||||
private const val downloadUrlRuleKey = "directLinkDownloadUrlRule"
|
||||
private const val summaryKey = "directSummary"
|
||||
|
||||
@Throws(NoStackTraceException::class)
|
||||
suspend fun upLoad(fileName: String, file: Any, contentType: String): String {
|
||||
val url = getUploadUrl()
|
||||
if (url.isNullOrBlank()) {
|
||||
|
||||
Reference in new issue
Block a user