This commit is contained in:
2025-12-30 16:59:56 +08:00
parent 5b0b98c8b8
commit 7e32268a4c
2 changed files with 7 additions and 6 deletions
@@ -183,11 +183,11 @@ class HomeActivity : BaseActivity() {
// viewModel.getAccessToken(App.deviceId)
// viewModel.getShelfList(deviceId = App.deviceId)
viewModel.getShelfList(deviceId = App.deviceId)
binding.root.postDelayed({
loadTestData()
}, 30*1000)
// binding.root.postDelayed({
// loadTestData()
// }, 30*1000)
}
private fun loadTestData() {
@@ -3,7 +3,7 @@ package com.shuwei.intelligent.shelves.net
import com.shuwei.intelligent.shelves.App
object UrlConfig {
const val DEVICE_BASE_URL = "http://device.shuziweidao.com:8889"
// const val DEVICE_BASE_URL = "http://device.shuziweidao.com:8889"
// /**
// * device获取token
// */
@@ -13,9 +13,10 @@ object UrlConfig {
// */
// const val DEVICE_CONFIG = "${DEVICE_BASE_URL}/equipment/stEquipment/queryByEquipmentCode"
const val BASE_URL = "http://dev.yixiong-tech.com:8081"
const val BASE_URL = "https://dev.yixiong-tech.com:8081"
// const val BASE_URL = "https://yyjk.shuziweidao.com/gateway"
// const val BASE_URL = "http://192.168.1.201:14801"
const val DEVICE_BASE_URL = BASE_URL
var GET_ACCESS_TOKEN = "${App.configUrl}/restaurant/equipment/stEquipment/getEquipmentToken"
var GET_SHELF_LIST =