// 初始化合作评论
  private void initcCollaborateComment(String url) {
    HttpUtils httpUtils = new HttpUtils();
    httpUtils.send(
        HttpRequest.HttpMethod.GET,
        AppUtilsUrl.getComment(id, url),
        new RequestCallBack<String>() {
          @Override
          public void onSuccess(ResponseInfo<String> responseInfo) {
            String result = responseInfo.result;
            if (result != null) {
              ArtistParme<CommentBean> commentBean =
                  JSONObject.parseObject(result, new TypeReference<ArtistParme<CommentBean>>() {});
              if (commentBean.getState().equals("success")) {

                //                        if(commentBean.getValue()!=null) {
                List<CommentBean> commentDate = commentBean.getValue();
                adapter = new ReputationAdapter(ReputationActivity.this, commentDate);
                reputation_list.setAdapter(adapter);
                adapter.notifyDataSetChanged();
                reputation_tipe_tv.setTextColor(0x00000000);
                //                        }

              }
            }
          }

          @Override
          public void onFailure(HttpException e, String s) {}
        });
  }
  // 初始化信誉值
  private void initReputationValue() {

    HttpUtils httpUtils = new HttpUtils();
    httpUtils.send(
        HttpRequest.HttpMethod.GET,
        AppUtilsUrl.getReputationValue(id),
        new RequestCallBack<String>() {
          @Override
          public void onSuccess(ResponseInfo<String> responseInfo) {
            String result = responseInfo.result;
            if (result != null) {
              SendParme<ReputationValueBean> reputationValueBean =
                  JSONObject.parseObject(
                      result, new TypeReference<SendParme<ReputationValueBean>>() {});
              if (reputationValueBean.getState().equals("success")) {

                if (reputationValueBean.getValue() != null) {
                  ReputationValueBean reputationValueDate =
                      JSONObject.parseObject(
                          reputationValueBean.getValue(), ReputationValueBean.class);
                  authenticity_tv.setText(reputationValueDate.getAuthenticity() + "");
                  integrity_tv.setText(reputationValueDate.getIntegrity() + "");
                  record_tv.setText(reputationValueDate.getTransactionRecord() + "");
                  if (type == 1) {
                    if (reputationValueDate.getAuthenticity() <= 60) {
                      authenticity_relatively_iv.setImageResource(R.mipmap.red_down);
                    } else if (reputationValueDate.getAuthenticity() <= 90) {
                      authenticity_relatively_iv.setImageResource(R.mipmap.grey_flat);
                    } else {
                      authenticity_relatively_iv.setImageResource(R.mipmap.green_top);
                    }
                    if (reputationValueDate.getIntegrity() <= 60) {
                      integrity_relatively_iv.setImageResource(R.mipmap.red_down);
                    } else if (reputationValueDate.getIntegrity() <= 90) {
                      integrity_relatively_iv.setImageResource(R.mipmap.grey_flat);
                    } else {
                      integrity_relatively_iv.setImageResource(R.mipmap.green_top);
                    }
                  }
                }
              }
            }
          }

          @Override
          public void onFailure(HttpException e, String s) {}
        });
  }