예제 #1
0
 @Override
 public HttpEntity getEntry() {
   HttpEntity aEntity = null;
   try {
     BaseReqBean.cpoyObjAttr(this.getBaseReqBean(), mReqBean, BaseReqBean.class);
     DataCener aCenter = DataCener.getInstance();
     if (null != aCenter) {
       mReqBean.setGroup(Constants.getMobileClientGroup());
       mReqBean.setUserName(aCenter.getUserName());
       mReqBean.setToken(aCenter.getToken());
       mReqBean.setOperation(action);
     }
     StringEntity aStrEntity = getStringEntity(mReqBean);
     aEntity = aStrEntity;
   } catch (Exception e) {
     e.printStackTrace();
   }
   return aEntity;
 }
예제 #2
0
 public MemberUpdateReq(
     String smallhead,
     String nickname,
     String phone,
     String score,
     String level,
     String brand,
     String customtag) {
   super();
   infoBean.setSmallhead(smallhead);
   infoBean.setNickname(nickname);
   infoBean.setPhone(phone);
   infoBean.setScore(score);
   //		infoBean.setLevel(level);
   //		infoBean.setBrand(brand);
   //		infoBean.setCustomtag(customtag);
   mReqBean.setInfobean(infoBean);
 }