Browse Source

09wms-ztf-pad-test.sh

lizw 1 year ago
parent
commit
6b7e31d264
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hua_wei_yun/09wms-ztf-pad-test.sh

+ 1 - 1
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"