完全替换为Rave Now,只保留了Google Play的密钥还有一些图片映射还有旧字样。

This commit is contained in:
2024-11-17 20:31:18 +08:00
parent 074244c0f8
commit 4cdb7f28b3
11 changed files with 15 additions and 15 deletions

View File

@@ -92,7 +92,7 @@ class AuthInterceptor() : Interceptor {
.addConverterFactory(GsonConverterFactory.create())
.client(getUnsafeOkHttpClient())
.build()
.create(RiderProAPI::class.java)
.create(RaveNowAPI::class.java)
val resp = client.refreshToken(AppStore.token ?: "")
val newToken = resp.body()?.token
@@ -118,8 +118,8 @@ object ApiClient {
.addConverterFactory(GsonConverterFactory.create())
.build()
}
val api: RiderProAPI by lazy {
retrofit.create(RiderProAPI::class.java)
val api: RaveNowAPI by lazy {
retrofit.create(RaveNowAPI::class.java)
}
fun formatTime(date: Date): String {

View File

@@ -186,7 +186,7 @@ data class UpdateChatNotificationRequestBody(
val strategy: String,
)
interface RiderProAPI {
interface RaveNowAPI {
@POST("register")
suspend fun register(@Body body: RegisterRequestBody): Response<Unit>