KJFrameForAndroid
KJFrameForAndroid copied to clipboard
默认的超时时间测试感觉一直变,貌似不能修改连接超时
HttpConfig httpconfig = new HttpConfig(); httpconfig.cacheTime = 0; httpconfig.TIMEOUT=1000; KJHttp kjh = new KJHttp(httpconfig); HttpParams params = new HttpParams(); params.putJsonParams(MerchanDetailEditMerchantPictureJson.Create(shop_id, merchantId, base64Data)); httpconfig.TIMEOUT这个参数应该设置的超时连接吧。要是是的话。它的单位是s还是ms。