package com.template.api;

import com.template.annotation.PassToken;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Api(tags = {"ExcelController"}, value = "导入excel表")
@RequestMapping("/api/excel")
public interface ExcelControllerAPI {

    @PostMapping("/toExcel")
    @ApiOperation(value = "导入excel表更新用户",httpMethod = "POST")
    @PassToken
    void toExcel(String fileUrl);

}
