|
|
|
@ -83,7 +83,7 @@ public class ManageAppServiceImp implements ManageAppService {
|
|
|
|
|
String clientType = device.getString("client_type");
|
|
|
|
|
manageDeviceSupport.findRegister(clientType);
|
|
|
|
|
JSONObject manager = managerMapper.findById(device.getString("manager_id"));
|
|
|
|
|
return clientManager.listPartners( manager, query);
|
|
|
|
|
return clientManager.listPartners(manager, query);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@ -104,7 +104,7 @@ public class ManageAppServiceImp implements ManageAppService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@Cacheable(value = ":dev_message_token:", key = "#dev_id")
|
|
|
|
|
@Cacheable(value = ":manage_dev_message_token:", key = "#dev_id")
|
|
|
|
|
public JSONObject getDevTokenByDevId(String dev_id) {
|
|
|
|
|
return manageDeviceTokenMapper.findByDevId(dev_id);
|
|
|
|
|
}
|
|
|
|
|