update 对接lianlian平台

This commit is contained in:
2024-04-11 16:49:28 +08:00
parent f122208415
commit 5f779eee1f
3 changed files with 15 additions and 14 deletions

View File

@@ -379,8 +379,6 @@ public class LianLianController extends BaseController {
// 查询配置信息
ThirdPartyPlatformConfig platformConfig = thirdPartyPlatformConfigService.getInfoByOperatorId(dto.getOperatorID());
String operatorSecret = platformConfig.getOperatorSecret();
String dataString = dto.getData();
String dataSecret = platformConfig.getDataSecret();
String dataSecretIV = platformConfig.getDataSecretIv();
@@ -393,7 +391,6 @@ public class LianLianController extends BaseController {
queryEquipmentDTO.setOperatorID(dto.getOperatorID());
// Map<String, String> map = lianLianService.query_equip_auth(queryEquipmentDTO);
Map<String, String> map = lianLianService.queryEquipAuth(queryEquipmentDTO);
return CommonResult.success(0, "请求设备认证成功!", map.get("Data"), map.get("Sig"));
} catch (Exception e) {
logger.error("联联平台请求设备认证 error:", e);