package com.template.api;

import com.template.model.pojo.SmartQrcode;
import com.template.model.result.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: binguo
 * @Date: 2023/3/30 星期四 17:28
 * @Description: com.video.api
 * @Version: 1.0
 */
@RequestMapping("/api/smartQrcode")
@Api(tags = {"SmartQrcodeControllerAPI"}, value = "刷码记录")
public interface SmartQrcodeControllerAPI {

    @GetMapping(value = "/generateQrcode")
    @ApiOperation(value = "生成二维码", notes = "生成二维码", httpMethod = "GET")
    CommonResult generateQrcode(@RequestParam int userId);
}
