package com.system.controller;

import com.system.serivce.ILicFileService;
import com.system.transfer.configure.LicInfoFileImportInVo;
import com.system.transfer.response.RestResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Inori
 */
@Api(tags = "Lic验证")
@RestController
@RequestMapping("/api")
public class LicFileController {

    @Autowired
    private ILicFileService licFileService;


    @ApiOperation("Lic文件导入")
    @PostMapping("/lic/info/file/import")
    public RestResponse licInfoFileImport(@ModelAttribute LicInfoFileImportInVo inVo) {
        return licFileService.licInfoFileImport(inVo);
    }


}
