From 6b7e31d2640fec27cda641ca0e588e0410008794 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Fri, 21 Jul 2023 14:06:34 +0800 Subject: [PATCH] 09wms-ztf-pad-test.sh --- hua_wei_yun/09wms-ztf-pad-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"