|
@@ -52,8 +52,8 @@ deploy() {
|
|
|
echo ""
|
|
|
|
|
|
# 上传文件
|
|
|
- echo -e "$echoPrefix curl -X POST -F 'file=@./tmp/web.zip' $serverUrl/wms_api/api/pages/sys/pdaVersion/PdaPackUpload@uploadFile $echoSuffix"
|
|
|
- res_json=$(curl -X POST -F 'file=@./tmp/web.zip' $serverUrl/wms_api/api/pages/sys/pdaVersion/PdaPackUpload@uploadFile)
|
|
|
+ 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)
|
|
|
echo "res_json = $res_json"
|
|
|
filePath=$(echo $res_json | awk -F '"' '{print $10}')
|
|
|
echo "filePath = $filePath"
|