generated from root/miduo_server
疯体ios登陆问题处理
parent
bc738935c0
commit
de301cd83a
|
|
@ -148,15 +148,15 @@ public class QuickVerifyService3 extends AbstractVerifyService {
|
|||
boolean doVerifyIos(VerifyParams params, String url) {
|
||||
LOGGER.info("疯体 Ohayoo 登录验证-->{}",params.getOpenId());
|
||||
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("token",params.getToken());
|
||||
json.put("product_code",params.getProductCode());
|
||||
json.put("uid",params.getOpenId());
|
||||
HashMap<String, String> map = new HashMap<>();
|
||||
map.put("token",params.getToken());
|
||||
map.put("product_code",params.getProductCode());
|
||||
map.put("uid",params.getOpenId());
|
||||
|
||||
boolean result = false;
|
||||
String r = null;
|
||||
try {
|
||||
r = HttpUtils.doPost2(url, json.toJSONString());
|
||||
r = HttpUtils.doPost(url, map);
|
||||
LOGGER.info("疯体 Ohayoo 请求结果:{}",r);
|
||||
JSONObject resultJson = JSON.parseObject(r);
|
||||
int status = resultJson.getIntValue("status");
|
||||
|
|
|
|||
Loading…
Reference in New Issue