From 15cb0a75eab1ddf1cf1b25b07f6fd246eaefd796 Mon Sep 17 00:00:00 2001 From: walker Date: Mon, 15 Jun 2020 12:41:38 +0800 Subject: [PATCH] sh ifle --- "scripts/jyd/1.\345\205\254\345\205\261.sh" | 2 +- ...55\351\207\217\347\273\237\350\256\241.sh" | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100755 "scripts/jyd/40.\346\234\215\345\212\241\345\214\205\350\256\242\350\264\255\351\207\217\347\273\237\350\256\241.sh" diff --git "a/scripts/jyd/1.\345\205\254\345\205\261.sh" "b/scripts/jyd/1.\345\205\254\345\205\261.sh" index e61db67..727333a 100755 --- "a/scripts/jyd/1.\345\205\254\345\205\261.sh" +++ "b/scripts/jyd/1.\345\205\254\345\205\261.sh" @@ -10,7 +10,7 @@ modulename='taskCommon' httpclient='PMLRESTBaseDoctor' models=( #地区列表 -modelAreaListItem +modelAreaListItem,modelAreaJuniorDOListItem #获取图片验证码 #医生其他端获取手机验证码 #医生APP获取手机验证码 diff --git "a/scripts/jyd/40.\346\234\215\345\212\241\345\214\205\350\256\242\350\264\255\351\207\217\347\273\237\350\256\241.sh" "b/scripts/jyd/40.\346\234\215\345\212\241\345\214\205\350\256\242\350\264\255\351\207\217\347\273\237\350\256\241.sh" new file mode 100755 index 0000000..b08c232 --- /dev/null +++ "b/scripts/jyd/40.\346\234\215\345\212\241\345\214\205\350\256\242\350\264\255\351\207\217\347\273\237\350\256\241.sh" @@ -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}