瀏覽代碼

1、crash

ProGo 4 年之前
父節點
當前提交
215881f4de
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      RMA/app/src/main/java/cn/muchinfo/rma/business/future/FutureManager.kt

+ 1 - 2
RMA/app/src/main/java/cn/muchinfo/rma/business/future/FutureManager.kt

@@ -176,8 +176,7 @@ class FutureManager {
     fun queryErmcpEntrustDetails(responseBack: (isSuccess: Boolean, respData: List<FutureEntrustData>?, error: Error?) -> Unit
     ){
         val params = mutableMapOf<String, String>()
-        params["accountID"] = SPUtils.getInstance().getString(Constant.SELECT_ACCOUNT_ID,
-            GlobalDataCollection.instance?.currentAccountId)
+        params["accountID"] = SPUtils.getInstance().getLong(Constant.SELECT_ACCOUNT_ID).toString()
         MyOkHttpUtils().query(
             URL = SPUtils.getInstance().getString(Constant.goCommonSearchUrl) + "/Ermcp/QueryErmcpOrderDetails",
             params = params,