wangzhibo
2024-11-29 e381baaeebc5b34b8c21f0f6d509b37e195af183
app/src/main/java/com/shsening/autouploadvideos/AppConfig.kt
@@ -1,6 +1,11 @@
package com.shsening.autouploadvideos
data class PlatformItem(
    val id: Int,
    val name: String,
    val enabled: Boolean,
    var url: String
)
class AppConfig {
    companion object {
        const val APP_VERSION_NAME = "1.1.0"
@@ -44,5 +49,15 @@
        const val URL_UPLOAD_SERVER_YOUTUBE = "https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page"
        const val URL_UPLOAD_SERVER_TIKTOK = "https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page"
        val SESSION_PROFILE_PALTFORM_LISTS = listOf(
            PlatformItem(1,"抖音",true,"https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page"),
            PlatformItem(2,"快手",true,"https://cp.kuaishou.com/article/publish/video"),
            PlatformItem(3,"视频号",true,"https://channels.weixin.qq.com/platform/post/create"),
            PlatformItem(4,"小红书",false,"https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page"),
            PlatformItem(5,"YouTube", false,"https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page"),
            PlatformItem(6,"TikTok", false,"https://creator.douyin.com/creator-micro/content/publish?enter_from=publish_page")
        )
        val SESSION_PROFILE_TYPE: Map<Int, String> = mapOf(0 to "美女跳舞", 1 to "美女穿搭",2 to "AI美景", 3 to "搞笑动物")
    }
}