3.6.4
parent
8c99a41dab
commit
ad69fed88d
|
@ -70,6 +70,7 @@
|
|||
<dependency>
|
||||
<groupId>com.dragon</groupId>
|
||||
<artifactId>dragon-common-log</artifactId>
|
||||
<version>3.6.5</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Dragon Common Swagger -->
|
||||
|
|
|
@ -7,6 +7,7 @@ import com.dragon.common.core.web.controller.BaseController;
|
|||
import com.dragon.common.core.web.page.TableDataInfo;
|
||||
import com.dragon.common.log.annotation.Log;
|
||||
import com.dragon.common.log.enums.BusinessType;
|
||||
import com.dragon.common.log.enums.OperatorType;
|
||||
import com.dragon.common.security.annotation.InnerAuth;
|
||||
import com.dragon.common.security.annotation.RequiresPermissions;
|
||||
import com.dragon.common.security.utils.SecurityUtils;
|
||||
|
@ -98,6 +99,7 @@ public class SysUserController extends BaseController {
|
|||
/**
|
||||
* 获取当前用户信息
|
||||
*/
|
||||
@Log(title = "获取用户当前信息",operatorType = OperatorType.OTHER)
|
||||
@InnerAuth
|
||||
@GetMapping("/info/{username}")
|
||||
public Result<LoginUser> info(@PathVariable("username") String username) {
|
||||
|
|
Loading…
Reference in New Issue