package com.moral.api.controller;
|
|
import com.moral.constant.ResultMessage;
|
import io.swagger.annotations.Api;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.web.bind.annotation.CrossOrigin;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* @ClassName GroupController
|
* @Description TODO
|
* @Author 陈凯裕
|
* @Date 2021/5/11 10:16
|
* @Version TODO
|
**/
|
@Slf4j
|
@Api(tags = {"前台角色管理"})
|
@RestController
|
@CrossOrigin(origins = "*", maxAge = 3600)
|
@RequestMapping("/group")
|
public class GroupController {
|
|
/**
|
* @Description: 给admin角色分配前台菜单
|
* @Param: []
|
* @return: com.moral.constant.ResultMessage
|
* @Author: 陈凯裕
|
* @Date: 2021/5/11
|
*/
|
@PostMapping("update")
|
public ResultMessage update() {
|
return null;
|
}
|
}
|