QQ扫一扫联系
npm install cas-server-mock --save-dev
编辑文件 /tmp/users.json
[
{
"name": "ST-user-id-1",
"attributes": {
"stringAttribute": "value",
"arrayAttribute": ["arrayValue"]
}
},
{
"name": "ST-user-id-2",
"attributes": {
"stringAttribute": "value",
"arrayAttribute": ["arrayValue"]
}
}
]
npx cas-server-mock --port=3004 --database=/tmp/users.json
cas服务路径为
http://localhost:3004