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 appKey = null;
if("android".equals(platForm)){
if("android".equalsIgnoreCase(platForm)){
appId = adAppId;
appKey = adAppKey;
}else if("ios".equals(platForm)){
}else if("ios".equalsIgnoreCase(platForm)){
appId = iosAppId;
appKey = iosAppKey;
}else{
LOGGER.info("dna01登录验证-->platForm error --- platForm " + platForm);
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<>();
parms.put("user_token",params.getToken());
parms.put("mem_id",params.getOpenId());