|
|
|
@ -110,13 +110,13 @@ public class PlatformController {
|
|
|
|
|
log.error(result);
|
|
|
|
|
Map<String,Object> object = JSON.parseObject(result,Map.class);
|
|
|
|
|
|
|
|
|
|
if(object!=null&&object.get("data")!=null&&object.get("appid")!=null) {
|
|
|
|
|
if(object!=null&&object.get("data")!=null&&object.get("data").get("appid")!=null) {
|
|
|
|
|
Map<String,Object> data = JSON.parseObject(JSON.toJSONString(object.get("data")),Map.class);
|
|
|
|
|
log.error(JSON.toJSONString(object.get("data")));
|
|
|
|
|
if(data.get("appid")!=null)
|
|
|
|
|
unitMaintainEntity.setAppid(data.get("appid").toString());
|
|
|
|
|
if(data.get("apiKey")!=null)
|
|
|
|
|
unitMaintainEntity.setAppid(data.get("apiKey").toString());
|
|
|
|
|
unitMaintainEntity.setApiKey(data.get("apiKey").toString());
|
|
|
|
|
if(data.get("secretKey")!=null)
|
|
|
|
|
unitMaintainEntity.setSecretKey(data.get("secretKey").toString());
|
|
|
|
|
} else if(object!=null&&object.get("message")!=null){
|
|
|
|
|