dashboard
repositories
filestore
activity
search
login
main
/
jfptht-publicSecurity
南昌市物联网技防平台-公安版
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
新增查询当前保安人员的警情信息接口
Administrator
2021-06-22
dbe1588cc6f6d596964c3dd0decee406942bdc84
[jfptht-publicSecurity.git]
/
blade-ops
/
blade-flow-design
/
src
/
main
/
java
/
org
/
springblade
/
flow
/
controller
/
RemoteAccountController.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.springblade.flow.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 登录用户模拟返回
*
* @author Chill
*/
@RestController
@RequestMapping("/app")
public class RemoteAccountController {
@RequestMapping(value = "/rest/account")
public String getAccount() {
return "{\"id\":\"admin\",\"firstName\":\"BladeX\",\"lastName\":\"Flowable\",\"email\":\"admin@flowable.org\",\"fullName\":\"BladeX Flowable\",\"groups\":[],\"privileges\":[\"access-idm\",\"access-task\",\"access-modeler\",\"access-admin\"]}\n";
}
}