fix
This commit is contained in:
parent
3040fcfcc2
commit
5834af4bb2
|
|
@ -4,6 +4,7 @@ import android.util.Log
|
|||
import com.google.gson.Gson
|
||||
import com.orhanobut.logger.Logger
|
||||
import com.tencent.mmkv.MMKV
|
||||
import com.yingmao.clash.app.MainApplication
|
||||
import com.yingmao.clash.base.PublicViewMode
|
||||
import com.yingmao.clash.conf.BZYConstants
|
||||
import com.yingmao.clash.entity.CheckLoginRsp
|
||||
|
|
@ -247,6 +248,7 @@ class RechargeViewModel : PublicViewMode() {
|
|||
val params = mutableMapOf(
|
||||
"phToken" to token,
|
||||
"phoneNumber" to phoneNumber,
|
||||
// "OAID" to MainApplication.OAID,
|
||||
)
|
||||
httpApi.checkLogin(params)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ class LoginAtyVM : PublicViewMode() {
|
|||
val params = mutableMapOf(
|
||||
"phToken" to token,
|
||||
"phoneNumber" to phoneNumber,
|
||||
// "OAID" to MainApplication.OAID,
|
||||
)
|
||||
Log.d("checkLogin params==>${params}")
|
||||
doAsyncEncodeStr(HttpReqType.CHECK_LOGIN, CheckLoginRsp::class.java) {
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import com.yingmao.clash.act.NewMainActivity
|
|||
import com.yingmao.clash.base.PublicViewMode
|
||||
import com.cncat.vpn.common.log.Log
|
||||
import com.google.gson.Gson
|
||||
import com.yingmao.clash.app.MainApplication
|
||||
import com.yingmao.clash.conf.BZYConstants
|
||||
import com.yingmao.clash.entity.CheckLoginRsp
|
||||
import com.yingmao.clash.entity.ClashNodebBean
|
||||
|
|
@ -102,6 +103,7 @@ class MainAtyVM : PublicViewMode() {
|
|||
val params = mutableMapOf(
|
||||
"phToken" to token,
|
||||
"phoneNumber" to phoneNumber,
|
||||
// "OAID" to MainApplication.OAID,
|
||||
)
|
||||
doAsyncEncodeStr(HttpReqType.CHECK_LOGIN, CheckLoginRsp::class.java) {
|
||||
httpApi.checkLogin(
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import com.orhanobut.logger.Logger
|
|||
|
||||
import com.tencent.mmkv.MMKV
|
||||
import com.yingmao.clash.BuildConfig
|
||||
import com.yingmao.clash.app.MainApplication
|
||||
|
||||
import com.yingmao.clash.base.PublicViewMode
|
||||
|
||||
|
|
@ -33,6 +34,7 @@ class SplashAtyVM : PublicViewMode() {
|
|||
val params: Map<String, String> = mutableMapOf(
|
||||
"phToken" to token,
|
||||
"phoneNumber" to phoneNumber,
|
||||
// "OAID" to MainApplication.OAID,
|
||||
)
|
||||
doAsyncEncodeStr(HttpReqType.CHECK_LOGIN, CheckLoginRsp::class.java) {
|
||||
httpApi.checkLogin(
|
||||
|
|
|
|||
Loading…
Reference in New Issue