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
ce1a8b04
Commit
ce1a8b04
authored
Apr 05, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script update
parent
d73333e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
script/code/thirdpart_list.py
+17
-2
No files found.
script/code/thirdpart_list.py
View file @
ce1a8b04
...
@@ -155,7 +155,22 @@ def code_certifyprogress(path):
...
@@ -155,7 +155,22 @@ def code_certifyprogress(path):
"
\t\t\t\t
startFragment(accountFragment, false);
\n
"
"
\t\t\t\t
startFragment(accountFragment, false);
\n
"
line
=
line
+
code
line
=
line
+
code
f_w
.
write
(
line
)
f_w
.
write
(
line
)
print
(
"code_fragments updated !"
)
print
(
"code_Progress updated !"
)
return
def
code_messageid
(
path
):
# print("processing content: %s..." % path)
with
open
(
path
,
"r"
,
encoding
=
"utf-8"
)
as
f
:
# readlines以列表的形式将文件读出
lines
=
f
.
readlines
()
with
open
(
path
,
"w"
,
encoding
=
"utf-8"
)
as
f_w
:
for
line
in
lines
:
if
"public static final int LOAN_STATUS_CHANGED = 3;"
in
line
:
line
+=
"
\n\t
public static final int CERTIFY_PROGRESS_CHANGED = 4;//贷款进度更新
\n
"
f_w
.
write
(
line
)
print
(
"code_MessageID updated !"
)
return
return
...
@@ -166,7 +181,7 @@ for root, dirs, files in os.walk("../../../app/src/main"):
...
@@ -166,7 +181,7 @@ for root, dirs, files in os.walk("../../../app/src/main"):
# get the path of the java file
# get the path of the java file
path
=
os
.
path
.
join
(
directory
,
file
)
path
=
os
.
path
.
join
(
directory
,
file
)
code_loanapplyfragment
(
path
)
code_loanapplyfragment
(
path
)
elif
file
.
endswith
(
"CertifyActivi
t
y.java"
):
elif
file
.
endswith
(
"CertifyActiviy.java"
):
path
=
os
.
path
.
join
(
directory
,
file
)
path
=
os
.
path
.
join
(
directory
,
file
)
code_certifyactivity
(
path
)
code_certifyactivity
(
path
)
elif
file
.
endswith
(
"IdentityInfoFragment.java"
)
or
file
.
endswith
(
elif
file
.
endswith
(
"IdentityInfoFragment.java"
)
or
file
.
endswith
(
...
...
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