/*
package cn.sikey.hmd.api;

import cn.sikey.framework.common.exception.ServiceException;
import cn.sikey.hmd.api.hmd.TuLingApi;
import cn.sikey.hmd.api.hmd.tuling.ApiResponse;
import cn.sikey.hmd.api.hmd.tuling.QueryUpgradeResponse;
import cn.sikey.hmd.service.tuling.TuLingService;
import jakarta.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RestController;

*/
/**
 * 图灵 API 接口实现类
 *
 * @author qin
 *//*

@RestController // 提供 RESTful API 接口，给 Feign 调用
@Validated
public class TuLingApiImpl implements TuLingApi {

    @Resource
    private TuLingService tulingService;

    @Override
    public ApiResponse<QueryUpgradeResponse> upgradeDevice(String deviceId, Integer level, String apiKey, String secret) throws ServiceException {
        return tulingService.upgradeDevice(deviceId, level, apiKey, secret);
    }

    @Override
    public ApiResponse<QueryUpgradeResponse> getDeviceMenu(String deviceId, String apiKey, String secret) {
        return tulingService.getDeviceMenu(deviceId, apiKey, secret);
    }
}
*/
