Commit 9ca843dc authored by yinjiacheng's avatar yinjiacheng

fix 网络服务请求参数解析异常

parent 57884e6a
......@@ -64,8 +64,9 @@ class MBHttpReqService : ZapService() {
if (requestParams != null) {
hashMap = HashMap()
var key: String?
while (requestParams.keys().hasNext()) {
key = requestParams.keys().next()
val iterator = requestParams.keys()
while (iterator.hasNext()) {
key = iterator.next()
hashMap[key] = requestParams.optString(key)
}
}
......
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