|
|
@@ -41,7 +41,7 @@ public class PhonePresenter implements PhoneContract.Presenter {
|
|
|
Map map = new HashMap();
|
|
|
map.put("account", telphone);
|
|
|
Log.e("hash-map", map.toString());
|
|
|
- com.alibaba.fastjson.JSONObject j = new com.alibaba.fastjson.JSONObject();
|
|
|
+ JSONObject j = new JSONObject();
|
|
|
j.put("account", telphone);
|
|
|
|
|
|
apiService.getCaptcha(j)
|
|
|
@@ -76,7 +76,7 @@ public class PhonePresenter implements PhoneContract.Presenter {
|
|
|
public boolean getCaptchaa(String telphone) {
|
|
|
|
|
|
try {
|
|
|
- com.alibaba.fastjson.JSONObject j = new com.alibaba.fastjson.JSONObject();
|
|
|
+ JSONObject j = new JSONObject();
|
|
|
j.put("account", telphone);
|
|
|
|
|
|
apiService.getCaptcha(j)
|
|
|
@@ -107,7 +107,7 @@ public class PhonePresenter implements PhoneContract.Presenter {
|
|
|
|
|
|
@Override
|
|
|
public void loginByCaptcha(String telphone, String code) {
|
|
|
- com.alibaba.fastjson.JSONObject m = new com.alibaba.fastjson.JSONObject();
|
|
|
+ JSONObject m = new JSONObject();
|
|
|
m.put("account", telphone);
|
|
|
m.put("sec_code", code);
|
|
|
m.put("invitation_code", ChannelContent.getInstance().getChannel_name());
|