| | |
| | | object Apis { |
| | | private var isTest = true |
| | | |
| | | // private const val TEST_URL = "http://192.168.110.64:9000/" //米涛内网 |
| | | // private const val TEST_URL = "http://192.168.110.64:9000/" //内网 |
| | | private const val TEST_URL = "https://mock.apipost.net/mock/31b303c60464000/" //fake |
| | | private const val LINE_URL = "https://jkcyl.cn/app/" //正式服 |
| | | val BASE_URL = if (isTest) TEST_URL else LINE_URL |
| | | |
| | | val SHARE_URL = "https://jkcyl.cn/share/#/?code=" |
| | | |
| | | /**公共接口*/ |
| | | const val H5_URL = "system/public/getContent" //获取协议 |
| | |
| | | const val useGuide = "base/appUser/useGuide" |
| | | const val setUnit = "base/appUser/setUnit" |
| | | const val updatePhone = "base/appUser/updatePhone" |
| | | const val updateInfo = "/user/client/app-user/updateUserDetail" |
| | | const val wallet = "base/appUser/wallet" |
| | | const val updateInfo = "user/client/app-user/updateUserDetail" |
| | | const val wallet = "user/client/app-user/wallet" |
| | | const val cancellation = "base/appUser/deleteAppUser" |
| | | const val myCourse = "base/sports/myCourse" |
| | | const val collectedCourse = "base/appUser/collectCourse" |
| | |
| | | const val commonQuestion = "system/system/common-question/commonQuestion" |
| | | const val healingLevel = "user/client/app-user/healingLevel" |
| | | const val queryNotice = "user/client/user/notice-record/queryNotice" |
| | | const val balanceList = "user/client/app-user-wallet-record/balanceList" |
| | | const val balanceDetail = "user/client/app-user-wallet-record/balanceDetail" |
| | | const val bankList = "user/client/app-user-withdraw/bankList" |
| | | const val addBank = "user/client/app-user-withdraw/addBank" |
| | | const val deleteBank = "user/client/app-user-withdraw/deleteBank" |
| | | const val withdraw = "user/client/app-user-withdraw/withdraw" |
| | | const val noticeDetail = "user/client/user/notice-record/noticeDetail" |
| | | const val changePhone = "user/client/app-user/changePhone" |
| | | const val deleteUser = "user/client/app-user/deleteUser" |
| | | |
| | | |
| | | /** |
| | |
| | | const val getMeditationInfo = "meditation/client/meditation/meditation/getMeditationInfo" |
| | | const val messageCount = "base/find/messageCount" |
| | | const val findList = "base/find/findList" |
| | | const val noticeDetail = "account/base/exploreWP/noticeDetail" |
| | | const val exceptionDetail = "account/base/exploreWP/exceptionDetail" |
| | | const val findDetail = "base/find/findDetail" |
| | | const val findCommentList = "base/find/findCommentList" |