瀏覽代碼

deprecated

Wayne 4 年之前
父節點
當前提交
0df5a7a8e5

+ 1 - 0
src/main/java/com/example/kdan_data_center/KdanCloud.kt

@@ -6,6 +6,7 @@ import retrofit2.Retrofit
 import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
 import retrofit2.converter.gson.GsonConverterFactory
 
+@Deprecated("Use com.kdanmobile.cloud.retrofit.datacenter.v3.DataCenter")
 class KdanCloud {
     companion object {
           var ENV_DEV = false

+ 1 - 0
src/main/java/com/example/kdan_data_center/datacenter/DataCenter.kt

@@ -6,6 +6,7 @@ import com.example.kdan_data_center.datacenter.folder.FolderService
 import com.example.kdan_data_center.datacenter.share.ShareLinkService
 import com.example.kdan_data_center.datacenter.user.UserService
 
+@Deprecated("Use com.kdanmobile.cloud.retrofit.datacenter.v3.DataCenter")
 class DataCenter(private val kdanCloud: KdanCloud) {
     companion object {
         private const val HOST_DATA_CENTER_DEBUG = "https://preparing.kdanmobile.com:3020/"