|
@@ -5,6 +5,7 @@ import com.module.backstage.repo.PayFragmentRepo
|
|
|
import com.quyunshuo.androidbaseframemvvm.base.addressenum.PayEnum
|
|
|
import com.quyunshuo.androidbaseframemvvm.base.mvvm.vm.BaseViewModel
|
|
|
import com.quyunshuo.androidbaseframemvvm.common.bean.ProductDataBean
|
|
|
+import com.quyunshuo.androidbaseframemvvm.common.constant.MMKVName
|
|
|
import dagger.hilt.android.lifecycle.HiltViewModel
|
|
|
import java.util.ArrayList
|
|
|
import javax.inject.Inject
|
|
@@ -51,7 +52,10 @@ class PayFragmentVM @Inject constructor(private val mRepo: PayFragmentRepo) : Ba
|
|
|
}
|
|
|
|
|
|
fun getPayData(): MutableList<PayEnum> {
|
|
|
-
|
|
|
- return mRepo.arrayList
|
|
|
+ if (MMKVName.APP_VERSION==1){
|
|
|
+ return mRepo.arrayList1
|
|
|
+ }else{
|
|
|
+ return mRepo.arrayList
|
|
|
+ }
|
|
|
}
|
|
|
}
|