Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
54aab50c
Commit
54aab50c
authored
Apr 24, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
b267935a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
script/gponline.py
+9
-0
script/refresh_gponline.sh
+4
-0
script/script_help.sh
+6
-0
No files found.
script/gponline.py
0 → 100755
View file @
54aab50c
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
())
script/refresh_gponline.sh
0 → 100755
View file @
54aab50c
.
../../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
script/script_help.sh
View file @
54aab50c
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment