Commit 9c1e942f authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent ba8611ea
......@@ -6,15 +6,15 @@ import android.os.Handler
import android.os.Message
import android.text.TextUtils
import com.alipay.sdk.app.AuthTask
import com.duben.myopicparadised.MintsApplication
import com.duben.myopicparadised.common.AppConfig
import com.duben.myopicparadised.mvp.model.AuthResult
import com.duben.myopicparadised.mvp.model.BaseResponse
import com.duben.myopicparadised.utils.ToastUtil
import com.duben.library.net.neterror.BaseSubscriber
import com.duben.library.net.neterror.Throwable
import com.duben.library.utils.json.JsonUtil
import com.duben.myopicparadised.MintsApplication
import com.duben.myopicparadised.mvp.model.AuthResult
import com.duben.myopicparadised.mvp.model.BaseResponse
import com.duben.myopicparadised.mvp.model.UserBean
import com.duben.myopicparadised.utils.DeviceUuidFactory
import com.duben.myopicparadised.utils.ToastUtil
import com.google.gson.JsonObject
import java.lang.ref.WeakReference
......@@ -55,7 +55,7 @@ object AlipayAuthManager {
private fun commitAlipayAutoInfo(info: String) {
val vo = HashMap<String, Any>()
vo.put("user_id", UserManager.getInstance().userID)
vo.put("device", DeviceUuidFactory().deviceUuid)
vo.put("result", info)
val baseApplication = MintsApplication.getContext() as MintsApplication
AppHttpManager.getInstance(baseApplication)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment