| | |
| | | object Apis { |
| | | private var isTest = true |
| | | |
| | | // private const val TEST_URL = "http://192.168.110.237:9000/" //周帅内网 |
| | | private const val TEST_URL = "http://1.95.15.237:9000/" //外网 |
| | | // private const val TEST_URL = "http://vwpmxwbhv59i.guyubao.com/" //周帅内网 |
| | | private const val TEST_URL = "https://dollearn.com/api/" //外网 |
| | | private const val LINE_URL = "http://8.137.22.229:56666/" //正式服 |
| | | val BASE_URL = if (isTest) TEST_URL else LINE_URL |
| | | |
| | |
| | | const val gameMemory = "study/base/study/gameMemory" |
| | | const val gameAchievement = "study/base/study/gameAchievement" |
| | | const val userGameDifficulty = "study/base/study/userGameDifficulty" |
| | | const val getIsOpen = "management/tSysSet/getIsOpen" |
| | | const val restart = "study/base/study/restart" |
| | | const val answerQuestion = "study/base/study/answerQuestion" |
| | | |
| | | |
| | | /** |
| | | * 商城 |
| | | */ |
| | | const val goodTypeStudy = "goods/base/goods/goodTypeStudy" //s品分类列表 |
| | | const val goodListStudy = "goods/base/goods/goodListStudy" //s品列表 |
| | | const val goodTypeStudy = "goods/base/goods/goodTypeStudy" //品分类列表 |
| | | const val goodListStudy = "goods/base/goods/goodListStudy" //品列表 |
| | | const val goodDetail = "goods/base/goods/goodDetail" |
| | | const val getIntegralStudy = "study/base/study/getIntegralStudy" |
| | | const val redeemNow = "goods/base/goods/redeemNow" |
| | |
| | | const val addressTree = "goods/base/goods/addressTree" |
| | | const val addressDelete = "goods/base/goods/addressDelete" |
| | | const val integralDetail = "study/base/study/integralDetail" |
| | | |
| | | |
| | | /** |
| | | * 运动营 |
| | | */ |
| | | const val lessonDetails = "account/api/startCource/lessonDetails" |
| | | const val editDefault = "account/api/startCource/editDefault" |
| | | const val recordDetails = "account/api/startCource/recordDetails" |
| | | const val stuComment = "account/api/startCource/stuComment" |
| | | const val registeredData = "course/api/startCource/RegisteredData" |
| | | const val queryPhysical = "account/api/startCource/queryPhysical" |
| | | |
| | | |
| | | /** |
| | | * 福利 |
| | | */ |
| | | const val cancellation = "account/api/useBenefit/cancellation" |
| | | const val redemptionDetails = "account/api/useBenefit/redemptionDetails" |
| | | |
| | | |
| | | /** |
| | | * 探索玩湃 |
| | | */ |
| | | const val noticeList = "account/base/exploreWP/noticeList" |
| | | const val noticeDetail = "account/base/exploreWP/noticeDetail" |
| | | const val exceptionDetail = "account/base/exploreWP/exceptionDetail" |
| | | |
| | | } |