增加初始化功能、采样菜品搜索功能优化、布局移动到layout目录

This commit is contained in:
2025-09-11 16:00:04 +08:00
parent 8c6d1bae99
commit a3690e7ef0
61 changed files with 1455 additions and 243 deletions
@@ -14,9 +14,6 @@ class BaseApp : Application() {
val database by lazy { DatabaseProvider(this).instance }
var token: String? = null
var androidId: String? = null
override fun onCreate() {
super.onCreate()
instance = this
@@ -29,6 +26,10 @@ class BaseApp : Application() {
// const val canteenId = "1678234139391512577"
var canteenId = "0"
var configUrl = ""
var token: String? = null
var deviceId: String? = null
@Volatile
private var sharedPref: SharedPreferences? = null