generated from root/miduo_server
疯体ios登陆问题处理
parent
de301cd83a
commit
bf77f6a245
|
@ -149,14 +149,14 @@ public class QuickVerifyService3 extends AbstractVerifyService {
|
||||||
LOGGER.info("疯体 Ohayoo 登录验证-->{}",params.getOpenId());
|
LOGGER.info("疯体 Ohayoo 登录验证-->{}",params.getOpenId());
|
||||||
|
|
||||||
HashMap<String, String> map = new HashMap<>();
|
HashMap<String, String> map = new HashMap<>();
|
||||||
|
map.put("app_id",params.getProductCode());
|
||||||
map.put("token",params.getToken());
|
map.put("token",params.getToken());
|
||||||
map.put("product_code",params.getProductCode());
|
map.put("open_id",params.getOpenId());
|
||||||
map.put("uid",params.getOpenId());
|
|
||||||
|
|
||||||
boolean result = false;
|
boolean result = false;
|
||||||
String r = null;
|
String r = null;
|
||||||
try {
|
try {
|
||||||
r = HttpUtils.doPost(url, map);
|
r = HttpUtils.doPost2(url, JSONObject.toJSONString(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