新接口
This commit is contained in:
parent
12b94fae91
commit
52cc3a4cf2
|
|
@ -141,8 +141,8 @@ android {
|
||||||
buildConfigString("RECHAEGE_SERVICES", "https://test.xxxxx.ai/policy/recharge")
|
buildConfigString("RECHAEGE_SERVICES", "https://test.xxxxx.ai/policy/recharge")
|
||||||
buildConfigString("RTC_APP_ID", "689ade491323ae01797818e0-XXX-TODO")
|
buildConfigString("RTC_APP_ID", "689ade491323ae01797818e0-XXX-TODO")
|
||||||
|
|
||||||
//buildConfigString("API_BASE", "http://54.223.196.180:9090")
|
buildConfigString("API_BASE", "http://54.223.196.180:9090")
|
||||||
buildConfigString("API_BASE", "http://192.168.110.113:9090")
|
//buildConfigString("API_BASE", "http://192.168.110.113:9090")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -162,8 +162,8 @@ android {
|
||||||
buildConfigString("RECHAEGE_SERVICES", "https://test.xxxxx.ai/policy/recharge")
|
buildConfigString("RECHAEGE_SERVICES", "https://test.xxxxx.ai/policy/recharge")
|
||||||
buildConfigString("RTC_APP_ID", "689ade491323ae01797818e0-XXX-TODO")
|
buildConfigString("RTC_APP_ID", "689ade491323ae01797818e0-XXX-TODO")
|
||||||
|
|
||||||
//buildConfigString("API_BASE", "http://54.223.196.180:9090")
|
buildConfigString("API_BASE", "http://54.223.196.180:9090")
|
||||||
buildConfigString("API_BASE", "http://192.168.110.113:9090")
|
//buildConfigString("API_BASE", "http://192.168.110.113:9090")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import com.remax.visualnovel.entity.request.AIIsShowDTO
|
||||||
import com.remax.visualnovel.entity.request.ChatAlbum
|
import com.remax.visualnovel.entity.request.ChatAlbum
|
||||||
import com.remax.visualnovel.entity.request.ChatSetting
|
import com.remax.visualnovel.entity.request.ChatSetting
|
||||||
import com.remax.visualnovel.entity.request.HeartbeatBuy
|
import com.remax.visualnovel.entity.request.HeartbeatBuy
|
||||||
|
import com.remax.visualnovel.entity.request.ParamBgUpload
|
||||||
import com.remax.visualnovel.entity.request.RTCRequest
|
import com.remax.visualnovel.entity.request.RTCRequest
|
||||||
import com.remax.visualnovel.entity.request.SearchPage
|
import com.remax.visualnovel.entity.request.SearchPage
|
||||||
import com.remax.visualnovel.entity.request.SimpleDataDTO
|
import com.remax.visualnovel.entity.request.SimpleDataDTO
|
||||||
|
|
@ -14,6 +15,7 @@ import com.remax.visualnovel.entity.request.VoiceTTS
|
||||||
import com.remax.visualnovel.entity.response.Album
|
import com.remax.visualnovel.entity.response.Album
|
||||||
import com.remax.visualnovel.entity.response.Character
|
import com.remax.visualnovel.entity.response.Character
|
||||||
import com.remax.visualnovel.entity.response.ChatBackground
|
import com.remax.visualnovel.entity.response.ChatBackground
|
||||||
|
import com.remax.visualnovel.entity.response.ChatModel
|
||||||
import com.remax.visualnovel.entity.response.ChatSet
|
import com.remax.visualnovel.entity.response.ChatSet
|
||||||
import com.remax.visualnovel.entity.response.ChatSound
|
import com.remax.visualnovel.entity.response.ChatSound
|
||||||
import com.remax.visualnovel.entity.response.Friends
|
import com.remax.visualnovel.entity.response.Friends
|
||||||
|
|
@ -164,8 +166,12 @@ interface ChatService {
|
||||||
|
|
||||||
//------------------------------------------------------
|
//------------------------------------------------------
|
||||||
@GET(BuildConfig.API_BASE + "/tts/config/select/list")
|
@GET(BuildConfig.API_BASE + "/tts/config/select/list")
|
||||||
suspend fun loadSoundList(@Query("language") page: Int = 1): Response<List<ChatSound>>
|
suspend fun loadSoundList(@Query("language") language: Int = 1): Response<List<ChatSound>>
|
||||||
|
|
||||||
|
@GET(BuildConfig.API_BASE + "/model/config/select/list")
|
||||||
|
suspend fun loadAiModelList(@Query("language") language: Int = 1): Response<List<ChatModel>>
|
||||||
|
|
||||||
|
@POST(BuildConfig.API_BASE + "/bg_image/config/upload")
|
||||||
|
suspend fun uploadCustomBgPic(@Body param: ParamBgUpload): Response<Any>
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
package com.remax.visualnovel.entity.request
|
||||||
|
|
||||||
|
|
||||||
|
data class ParamBgUpload(
|
||||||
|
var userId: String,
|
||||||
|
var file: String,
|
||||||
|
)
|
||||||
Loading…
Reference in New Issue