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