diff --git a/hua_wei_yun/09wms-ztf-pad-test.sh b/hua_wei_yun/09wms-ztf-pad-test.sh index 59f969b..7deeca6 100644 --- a/hua_wei_yun/09wms-ztf-pad-test.sh +++ b/hua_wei_yun/09wms-ztf-pad-test.sh @@ -53,7 +53,7 @@ deploy() { # 上传文件 echo -e "$echoPrefix curl -X POST -F 'file=@$codePath/wms-ui-mobile/tmp/web.zip' $serverUrl/wms_api/api/pages/sys/pdaVersion/PdaPackUpload@uploadFile $echoSuffix" - res_json=$(curl -X POST -F 'file=@'$codePath'/wms-ui-mobile/tmp/web.zip' $serverUrl/wms_api/api/pages/sys/pdaVersion/PdaPackUpload@uploadFile) + res_json=$(curl -X POST -F 'file=@'$codePath'/wms-ui-mobile/tmp/web.zip' -H "deploy: VPitn9zuOizfciiqY53vtuVz9FXCQ0Ddx3tEWMSZIbDDIbPtEJ3nbFnJOfXKbxdT875sRTv1hWUNkRpBsS1pciHB3h8YcI5huX5ViDnO7XAD0uaiSlZJaUW6aym" $serverUrl/wms_api/api/pages/sys/pdaVersion/PdaPackUpload@uploadFile) echo "res_json = $res_json" filePath=$(echo $res_json | awk -F '"' '{print $10}') echo "filePath = $filePath"