package com.template.api;

import com.template.model.pojo.SmartVisitorParentsConfig;
import com.template.model.pojo.SmartVisitorRestsConfig;
import com.template.model.result.CommonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/api/smartVisitorRestsConfig")
public interface SmartVisitorRestsConfigControllerAPI {

    @GetMapping(value = "/list")
    @ApiOperation(value = "展示其他访客配置", notes = "展示其他访客配置", httpMethod = "GET")
    CommonResult list();

    @PostMapping(value = "/update")
    @ApiOperation(value = "其他访客配置修改", notes = "其他访客配置修改", httpMethod = "POST")
    CommonResult update(@RequestBody SmartVisitorRestsConfig smartVisitorRestsConfig);

}
