-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhangjie1
committed
Jan 20, 2018
1 parent
c42f8b2
commit 1857458
Showing
2 changed files
with
56 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/bin/bash | ||
author='zhangjie' | ||
projectname='FamilyDoctor' | ||
passkeys='code,flag,message' | ||
fileuri='/Users/zhangjie/Desktop/index.html' | ||
offset=1 | ||
debug=true | ||
verbose=false | ||
modulename='taskordermanage' | ||
httpclient='PMLRESTBaseDoctor' | ||
models=( | ||
#获取签约的订单详细订单包的信息 | ||
'modelDingDanBao,modelServicePkgItemDTOS' | ||
#订单信息列表 | ||
'modelOrderInfolist,modelOrderInfolistItem,modelOrderInfolistItemOrderList' | ||
#修改订单审核状态 | ||
# 'modelOrderStatus' | ||
#添加服务订单 | ||
#订单详情 | ||
'modelOrderdetail,modelServicePkgOrderDetailDOS' | ||
#订单服务包详情 | ||
'modelOrderFuwubaodetail,modelFuwuservicePkgItemDTOS' | ||
#订单服务包取消 | ||
# 'modelOrderFuwubaodeCancel' | ||
#订单消息列表 | ||
'modelOrderxiaoxilist,modelOrderxiaoxilistItem' | ||
#订单未读消息数量 | ||
# 'modelOrderxiaoxiWeiDu' | ||
#订单消息阅读 | ||
# 'modelOrderCancel' | ||
#订单消息删除 | ||
# 'modelOrderCancel' | ||
) | ||
|
||
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} |