2017-02-15 162 views

回答

0

傳遞一個HashMap來查詢。

HashMap<String,String> sendKey=new HashMap<>; 
sendKey.put("yourKey","yourValue"); 
yourApiInterface.getMentor(new JSONObject(sendKeyValue).toString()).new CallBack<OneMentorResponse response>{} 

並執行響應和失敗方法。 ,並且按照您的方式傳遞您的標題。