|
3 年之前 | |
---|---|---|
app | 3 年之前 | |
config | 3 年之前 | |
test | 3 年之前 | |
.autod.conf.js | 3 年之前 | |
.eslintignore | 3 年之前 | |
.eslintrc | 3 年之前 | |
.gitignore | 3 年之前 | |
.travis.yml | 3 年之前 | |
README.md | 3 年之前 | |
README.zh-CN.md | 3 年之前 | |
appveyor.yml | 3 年之前 | |
ecosystem.config.js | 3 年之前 | |
package.json | 3 年之前 | |
server.js | 3 年之前 |
multi-tenancy applicaiton platform user service
curl -v -d "tagname=tag1" -H "Accept: application/json" http://localhost:7001/tag/create curl -v -d "name=seq1" -H "Accept: application/json" http://localhost:7001/seq/nextval
curl -v -d "tagname=tag1" -H "Accept: application/json" http://localhost:7001/tag/create curl -v -d "name=seq1" -H "Accept: application/json" http://localhost:7001/seq/nextval
curl -v -d "name=admin&userid=admin&mobile=13500000000" -H "Accept: application/json" http://localhost:7001/user/create curl -v -d "userid=admin&newpass=123456" -H "Accept: application/json" http://localhost:7001/user/passwd
db.getCollection('naf_user_info').insert({userid: 'admin', name: '系统管理员', role: 'super', department: [0], password: { mech: 'plain', secret: 'admin'}})