generated from root/miduo_server
安久登陆
parent
87feb2b057
commit
2bdc94d016
|
@ -1,5 +1,7 @@
|
|||
package com.ljsd.service;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.ljsd.pojo.VerifyParams;
|
||||
import com.ljsd.util.AppConstans;
|
||||
import com.ljsd.util.HttpUtils;
|
||||
|
@ -83,7 +85,9 @@ public class AnJiuVerifyService extends AbstractVerifyService {
|
|||
try {
|
||||
String r = HttpUtils.doPost(url, parms);
|
||||
LOGGER.info("anjiu请求结果:{}",r);
|
||||
if(r.equals("0")){
|
||||
JSONObject jsonObject = JSON.parseObject(r);
|
||||
int code = jsonObject.getIntValue("code");
|
||||
if(code == 0){
|
||||
result = true;
|
||||
}
|
||||
}catch (IOException e){
|
||||
|
|
Loading…
Reference in New Issue