feat(shelf): 添加净菜毛菜搜索和分类选择功能
- 新增 tvFoodType TextView 显示食品分类 - 将搜索框可见性从 gone 改为 visible - 添加 FoodItem 和 FoodType 数据模型 - 添加 SearchFoodRequest 请求模型 - 在 ApiServiceV3 中新增 searchFood 接口 - 在 NetViewModelV3 中新增 searchFood 方法 - 修改 PutSlotRequest 模型字段为可空类型并添加 vegTypeId - 更新 HomeV3Activity 中行列计算逻辑 - 缩短商品数据同步间隔时间 - 修改 InitActivity 中的基础URL配置 - 将 PendingInboundAdapter 适配器改为使用 FoodItem 类型 - 在 ShelfV3Activity 中实现净菜分类选择对话框功能 - 添加 ChipSelectDialog 自定义对话框组件 - 添加 chip 相关的颜色资源文件 - 实现搜索功能替换原有的待入库查询逻辑
This commit is contained in:
@@ -39,6 +39,7 @@ class InitActivity : BaseActivity() {
|
||||
App.deviceId = AppUtil.getUDID(this)
|
||||
// TODO: 测试设备号
|
||||
// App.deviceId = "d369f9b0-1c5b-3066-ba72-988e1449cecc"
|
||||
// App.deviceId = "25b777a9-6298-30d3-a5f8-3b3eef2a50f7"
|
||||
// App.deviceId = "505ce1b1-facc-3eb2-855a-3dadda5ba358"
|
||||
Log.d(TAG, "onCreate: deviceId = ${App.deviceId}")
|
||||
SpTool.put(SpTool.DEVICE_ID, App.deviceId)
|
||||
@@ -48,7 +49,7 @@ class InitActivity : BaseActivity() {
|
||||
// } else {
|
||||
// GlobalData.appBaseUrl = GlobalData.PROD_BASE_URL
|
||||
// }
|
||||
GlobalData.appBaseUrl = GlobalData.LOCAL_BASE_URL
|
||||
GlobalData.appBaseUrl = GlobalData.TEST_BASE_URL
|
||||
App.canteenId = "0"
|
||||
|
||||
binding.ivQrCode.invisible()
|
||||
|
||||
Reference in New Issue
Block a user