| 1234567891011121314151617181920212223242526272829303132333435363738 |
- package com.template.api;
- import com.template.model.pojo.WelcomeAccount;
- import com.template.model.pojo.WelcomeRole;
- import com.template.model.result.CommonResult;
- import io.swagger.annotations.Api;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.web.bind.annotation.*;
- @RequestMapping("/api/welcomeAccount")
- @Api(tags = {"WelcomeAccountController"}, value = "账号管理设置")
- public interface WelcomeAccountControllerAPI {
- @PostMapping(value = "/saveAccount")
- @ApiOperation(value = "添加账号", notes = "添加账号", httpMethod = "POST")
- CommonResult saveAccount(@RequestBody WelcomeAccount welcomeAccount);
- @GetMapping(value = "/deleteAccount")
- @ApiOperation(value = "删除账号", notes = "删除账号", httpMethod = "GET")
- CommonResult deleteAccount(@RequestParam Integer accountId);
- @PostMapping(value = "/updateAccount")
- @ApiOperation(value = "修改账号", notes = "修改账号", httpMethod = "POST")
- CommonResult updateAccount(@RequestBody WelcomeAccount welcomeAccount);
- @GetMapping(value = "/listAccount")
- @ApiOperation(value = "查询账号", notes = "查询账号", httpMethod = "GET")
- CommonResult listAccount(@RequestParam int currentPage, @RequestParam int pageCount,Integer status,String keyWord,String startTime,String endTime);
- @GetMapping(value = "/getAccountAuthority")
- @ApiOperation(value = "查询账号权限", notes = "查询账号权限", httpMethod = "GET")
- CommonResult getAccountAuthority(@RequestParam Integer accountId);
- }
|