Skip to content

Commit

Permalink
sh ifle
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerwzy committed Jun 15, 2020
1 parent 92c6d88 commit 15cb0a7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/jyd/1.公共.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ modulename='taskCommon'
httpclient='PMLRESTBaseDoctor'
models=(
#地区列表
modelAreaListItem
modelAreaListItem,modelAreaJuniorDOListItem
#获取图片验证码
#医生其他端获取手机验证码
#医生APP获取手机验证码
Expand Down
37 changes: 37 additions & 0 deletions scripts/jyd/40.服务包订购量统计.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash
author='walker'
projectname='FamilyDoctor'
passkeys='code,flag,message'
fileuri='/Users/walker/Desktop/index.html'
offset=0
debug=true
verbose=false
modulename='taskStatisticServicePkgPurchase'
httpclient='PMLRESTBaseDoctor'
models=(
#服务统计
modelServicePkgPurchaseCountItem
)

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} \
-B ${httpclient} \
-o ${offset}

0 comments on commit 15cb0a7

Please sign in to comment.