Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerwzy committed Jan 18, 2018
1 parent 0e57435 commit a52015c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
36 changes: 36 additions & 0 deletions scripts/jyd/15.版本信息.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash
author='walker'
projectname='FamilyDoctor'
passkeys='code,flag,message'
fileuri='/Users/walker/Desktop/index.html'
offset=0
debug=true
verbose=false
modulename='taskVersionInfo'
models=(
#获取版本信息
'modelVersionInfo'
#下载地址(GET)
)

for model in ${models[@]}; do
types=${types}${model},
done
types=${types}

if [ "$debug" = true ] ; then
enableDebug='--debug'
fi

if [ "$verbose" = true ] ; then
enableVerbose='--verbose'
fi

./app.js ${enableVerbose} ${enableDebug} \
-C ${types} \
-P ${passkeys} \
-f ${fileuri} \
-a ${author} \
-m ${modulename} \
-j ${projectname} \
-o ${offset}
10 changes: 6 additions & 4 deletions scripts/jyd/2.用户相关.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ author='walker'
projectname='FamilyDoctor'
passkeys='code,flag,message'
fileuri='/Users/walker/Desktop/index.html'
offset=1
debug=true
verbose=false
modulename='taskUserInfo'
models=(
#用户登录
'modelUserHospital'
'modelUserProfile'
#修改用户密码
#找回密码
#微信免登陆
'modelUesrWechat'
#退出登录
#个人信息
'modelUserProfile'
'modelUserDoctorInfo'
#更改医生个人信息
#获取签约患者的头像和姓名
'modelUserBaseInfo'
'modelUserDisplayInfo'
)

for model in ${models[@]}; do
Expand All @@ -40,4 +41,5 @@ fi
-f ${fileuri} \
-a ${author} \
-m ${modulename} \
-j ${projectname}
-j ${projectname} \
-o ${offset}

0 comments on commit a52015c

Please sign in to comment.