package com.zy.asrs.wcs.sys.controller;
|
|
import com.zy.asrs.framework.common.R;
|
import com.zy.asrs.wcs.common.annotation.OperationLog;
|
import com.zy.asrs.wcs.sys.entity.User;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.web.bind.annotation.PutMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* Created by vincent on 2/13/2024
|
*/
|
@RestController
|
@RequestMapping("/api")
|
public class RoleController extends BaseController {
|
|
@PreAuthorize("hasAuthority('sys:auth:user')")
|
@OperationLog
|
@PutMapping("/role/page")
|
public R updateInfo(@RequestBody User user) {
|
return R.ok();
|
}
|
|
}
|