package com.template.api;

import com.template.model.request.setAdminRequest;
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.*;


@RequestMapping("/api/alumniAdminApply")
@Api(tags = {"AlumniAdminApplyController"}, value = "校友相册管理员")
public interface AlumniAdminApplyControllerAPI {

    @PostMapping(value = "/setImageAdmin")
    @ApiOperation(value = "设置校友相册管理员", notes = "设置校友相册管理员", httpMethod = "POST")
    CommonResult setImageAdmin(@Validated @RequestBody setAdminRequest sar, BindingResult bindingResult);

    @PostMapping(value = "/setActivityAdmin")
    @ApiOperation(value = "设置活动管理员", notes = "设置活动管理员", httpMethod = "POST")
    CommonResult setActivityAdmin(@Validated @RequestBody setAdminRequest sar, BindingResult bindingResult);

    @PostMapping(value = "/setEndorseAdmin")
    @ApiOperation(value = "设置母校代言管理员", notes = "设置母校代言管理员", httpMethod = "POST")
    CommonResult setEndorseAdmin(@Validated @RequestBody setAdminRequest sar, BindingResult bindingResult);
}
