@@ -19,7 +19,7 @@ android {
minSdk 24
targetSdk 34
versionCode 1
- versionName "1.0.0"
+ versionName "1.0.1"
multiDexEnabled true
@@ -21,9 +21,11 @@ class WorkshopPresenter : BasePresenter<IWorkshopView>() {
}
fun getMapInfo(callBack: (MapInfoRespVO?) -> Unit) {
- NetApi.getMapInfo(1) {
- Executor.runOnMain {
- callBack(it)
+ SPUtils.getAttributeValue(mContext!!, Constants.MAP_PERMIT_KEY)?.let {
+ NetApi.getMapInfo(it.toLong()) {
+ Executor.runOnMain {
+ callBack(it)
+ }