platform字段不区分大小写

master
DESKTOP-C3M45P4\dengdan 2025-04-22 12:48:39 +08:00
parent ff63f74f61
commit f1528fc299
1 changed files with 3 additions and 3 deletions

View File

@ -89,17 +89,17 @@ public class Dna01VerifyService extends AbstractVerifyService {
} }
String appId = null; String appId = null;
String appKey = null; String appKey = null;
if("android".equals(platForm)){ if("android".equalsIgnoreCase(platForm)){
appId = adAppId; appId = adAppId;
appKey = adAppKey; appKey = adAppKey;
}else if("ios".equals(platForm)){ }else if("ios".equalsIgnoreCase(platForm)){
appId = iosAppId; appId = iosAppId;
appKey = iosAppKey; appKey = iosAppKey;
}else{ }else{
LOGGER.info("dna01登录验证-->platForm error --- platForm " + platForm); LOGGER.info("dna01登录验证-->platForm error --- platForm " + platForm);
return false; return false;
} }
String url = "https://sdk.gmdna.com/cp/user/check"; String url = "https://unapi.gmdna.com/cp/user/check";
Map<String,String> parms = new HashMap<>(); Map<String,String> parms = new HashMap<>();
parms.put("user_token",params.getToken()); parms.put("user_token",params.getToken());
parms.put("mem_id",params.getOpenId()); parms.put("mem_id",params.getOpenId());