private void sendHistoryRequest() { MApiService localMApiService = (MApiService)getService("mapi"); StringBuffer localStringBuffer = new StringBuffer("http://m.api.dianping.com/wedding/weddinghotelbookinghistory.bin?"); localStringBuffer.append("dpid=").append(DeviceUtils.dpid()); localStringBuffer.append("&userid=").append(getUserId()); localStringBuffer.append("&type=1"); this.mGetHistoryReq = BasicMApiRequest.mapiGet(localStringBuffer.toString(), CacheType.DISABLED); localMApiService.exec(this.mGetHistoryReq, this); }
private void sendInfoRequest() { MApiService localMApiService = (MApiService)getService("mapi"); StringBuffer localStringBuffer1 = new StringBuffer("http://m.api.dianping.com/wedding/weddinghotelfuzzyrecommend.bin?"); StringBuffer localStringBuffer2 = localStringBuffer1.append("cityid="); if (this.cityId == null); for (Object localObject = Integer.valueOf(cityId()); ; localObject = this.cityId) { localStringBuffer2.append(localObject); this.mGetFuzzyRecommendInfoReq = BasicMApiRequest.mapiGet(localStringBuffer1.toString(), CacheType.DISABLED); localMApiService.exec(this.mGetFuzzyRecommendInfoReq, this); return; } }