package com.template.api;

import com.template.model.pojo.SmartPushConfig;
import com.template.model.pojo.SmartVisitorRestsConfig;
import com.template.model.result.CommonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/api/smartPushConfig")
public interface SmartPushConfigControllerAPI {

    @GetMapping(value = "/list")
    @ApiOperation(value = "展示推送配置", notes = "展示推送配置", httpMethod = "GET")
    CommonResult list();

    @PostMapping(value = "/update")
    @ApiOperation(value = "推送配置修改", notes = "推送配置修改", httpMethod = "POST")
    CommonResult update(@RequestBody SmartPushConfig smartPushConfig);

}
