lmw
2025-04-24 718f31c92e2029d05260810435a2c70cef6e6ce5
app/src/main/java/com/sinata/xqmuse/network/Apis.kt
@@ -3,9 +3,9 @@
object Apis {
    private var isTest = true
    private const val TEST_URL = "http://192.168.110.64:9000/" //内网
//    private const val TEST_URL = "https://xq.xqzhihui.com/api/" //外网
    private const val LINE_URL = "https://jkcyl.cn/app/" //正式服
//    private const val TEST_URL = "http://192.168.110.64:9000/" //内网
    private const val TEST_URL = "https://xq.xqzhihui.com/api/" //外网
    private const val LINE_URL = "" //正式服
    val BASE_URL = if (isTest) TEST_URL else LINE_URL
    /**公共接口*/
@@ -13,7 +13,7 @@
    const val getCode = "auth/app/sendCaptchaCode"
    const val querySystemImg = "system/system/page/getPage"
    const val PUSH_BASE_URL = "http://113.45.158.158/share/#/"
    const val PUSH_BASE_URL = "https://xq.xqzhihui.com/share/#/"
    const val RANK = PUSH_BASE_URL + "pages/ranking/ranking?userId=%s"
    const val PUSH_LIST = PUSH_BASE_URL + "pages/ranking/recommend?userId=%s"
    const val SHARE_APP = PUSH_BASE_URL + "pages/poster/poster?userId=%s"
@@ -58,7 +58,8 @@
    const val confirmOrderVoice = "meditation/client/meditation/meditation/confirmOrder"
    const val successOrderVoice = "meditation/client/meditation/meditation/successOrder"
    const val saveViewingHistory = "user/user/app-user-viewing-history/saveViewingHistory"
    const val saveUserHomeBackgroundMusic = "meditation/client/meditation/home/saveUserHomeBackgroundMusic"
    const val getHomeBackgroundMusicByUserId = "meditation/client/meditation/home/getHomeBackgroundMusicByUserId"
    /**
     * 我的
@@ -110,7 +111,6 @@
    const val getCoursePageList = "course/client/course/tutor-special-column/getCoursePageList"
    const val getPayCourseInfoById = "course/client/course/course/getPayCourseInfoById"
    const val collectCourse = "course/client/course/course/collectCourse"
    const val pay = "base/sports/pay"
    const val success = "base/sports/success"
    const val queryPhysical = "account/api/startCource/queryPhysical"
    const val exit = "base/sports/exit"
@@ -123,6 +123,7 @@
    const val successOrder = "course/client/course/course/successOrder"
    const val studyPageByChapterId = "course/client/course/course/studyPageByChapterId"
    const val saveCourseStudyHistory = "user/user/app-user-viewing-history/saveCourseStudyHistory"
    const val queryPayment = "order/client/order/order/queryPayment"
    /**