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) {
|
boolean doVerifyIos(VerifyParams params, String url) {
|
||||||
LOGGER.info("疯体 Ohayoo 登录验证-->{}",params.getOpenId());
|
LOGGER.info("疯体 Ohayoo 登录验证-->{}",params.getOpenId());
|
||||||
|
|
||||||
JSONObject json = new JSONObject();
|
HashMap<String, String> map = new HashMap<>();
|
||||||
json.put("token",params.getToken());
|
map.put("token",params.getToken());
|
||||||
json.put("product_code",params.getProductCode());
|
map.put("product_code",params.getProductCode());
|
||||||
json.put("uid",params.getOpenId());
|
map.put("uid",params.getOpenId());
|
||||||
|
|
||||||
boolean result = false;
|
boolean result = false;
|
||||||
String r = null;
|
String r = null;
|
||||||
try {
|
try {
|
||||||
r = HttpUtils.doPost2(url, json.toJSONString());
|
r = HttpUtils.doPost(url, map);
|
||||||
LOGGER.info("疯体 Ohayoo 请求结果:{}",r);
|
LOGGER.info("疯体 Ohayoo 请求结果:{}",r);
|
||||||
JSONObject resultJson = JSON.parseObject(r);
|
JSONObject resultJson = JSON.parseObject(r);
|
||||||
int status = resultJson.getIntValue("status");
|
int status = resultJson.getIntValue("status");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue