Commit 54aab50c by sikang

update script

parent b267935a
import requests
import time
import datetime
import sys
seconds = int(time.time())
paramMap = {'corpid': sys.argv[1], 'level': sys.argv[2], 'developer': sys.argv[3], 'pkg_name': sys.argv[4], 'action': sys.argv[5], 'update_time': seconds}
result = requests.get("http://149.28.141.238:5021/refreshGPInfo", params=paramMap)
print(result.json())
. ../../gradle.properties
chmod a+x mark_screen_img.py
python gponline.py "${corp_id}" "A" "sikang" "${app_id}" "test"
\ No newline at end of file
......@@ -19,6 +19,7 @@ echo "16、压缩切图"
echo "17、给GP图片添加水印"
echo "18、加固"
echo "19、混淆api"
echo "20、更新GP状态"
echo -n "请输入指令编号:"
......@@ -147,6 +148,11 @@ then
chmod a+x rename_api.py
./rename_api.py
elif (($commod == '20'))
then
chmod a+x refresh_gponline.sh
./refresh_gponline.sh
else
echo "找不到编号"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment