疯体ios登陆问题处理

master
duhui 2022-07-13 13:32:31 +08:00
parent bc738935c0
commit de301cd83a
1 changed files with 5 additions and 5 deletions

View File

@ -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");