医疗业务服务

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

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'}})