Commit 2f9f24a2 by sikang

udpate

parent 9e32cebf
...@@ -30,7 +30,7 @@ def rename_api(path): ...@@ -30,7 +30,7 @@ def rename_api(path):
for api_l in api_lines: for api_l in api_lines:
# if "//API-REPAIR*-*" in api_l: # if "//API-REPAIR*-*" in api_l:
# api_l = "\t"+api_l.split("*-*")[1] # api_l = "\t"+api_l.split("*-*")[1]
old_line = "//" + api_l old_line = "//" + api_l.replace("\n","//rewrited\n")
if "loanapp/{loanAppId}/bank" in api_l: if "loanapp/{loanAppId}/bank" in api_l:
api_l = api_l.replace("loanapp/{loanAppId}/bank","loanapp/bank/{loanAppId}") api_l = api_l.replace("loanapp/{loanAppId}/bank","loanapp/bank/{loanAppId}")
......
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