医疗业务服务

asd123a20 e334f698a8 il y a 3 ans
app e334f698a8 il y a 3 ans
config 1dc78116c1 il y a 3 ans
test b127ae69fb il y a 3 ans
.autod.conf.js b127ae69fb il y a 3 ans
.eslintignore b127ae69fb il y a 3 ans
.eslintrc b127ae69fb il y a 3 ans
.gitignore b127ae69fb il y a 3 ans
.travis.yml b127ae69fb il y a 3 ans
README.md 9b20f8ad8f first commit il y a 3 ans
README.zh-CN.md b127ae69fb il y a 3 ans
appveyor.yml b127ae69fb il y a 3 ans
ecosystem.config.js b127ae69fb il y a 3 ans
package.json b127ae69fb il y a 3 ans
server.js b127ae69fb il y a 3 ans

README.md

naf common service

multi-tenancy applicaiton platform user service

api test

for global tenancy

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

for test tenancy

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

for test user

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

create super user

db.getCollection('naf_user_info').insert({userid: 'admin', name: '系统管理员', role: 'super', department: [0], password: { mech: 'plain', secret: 'admin'}})