|
vor 3 Jahren | |
---|---|---|
app | vor 3 Jahren | |
config | vor 3 Jahren | |
test | vor 3 Jahren | |
.autod.conf.js | vor 3 Jahren | |
.eslintignore | vor 3 Jahren | |
.eslintrc | vor 3 Jahren | |
.gitignore | vor 3 Jahren | |
.travis.yml | vor 3 Jahren | |
README.md | vor 3 Jahren | |
README.zh-CN.md | vor 3 Jahren | |
appveyor.yml | vor 3 Jahren | |
ecosystem.config.js | vor 3 Jahren | |
package.json | vor 3 Jahren | |
server.js | vor 3 Jahren |
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'}})