package com.keystar.plane.inspection.service.impl;

import com.keystar.plane.inspection.mqtt.PlaneMqttHandler;
import com.keystar.plane.inspection.service.LoginService;
import com.keystar.plane.inspection.utils.FileUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class LoginServiceImpl implements LoginService {

    @Override
    public String getToken() throws Exception {

        return PlaneMqttHandler.planeLogin();
    }
}
