Commit fe8aa22b by sikang

add checklist auto

parent 5b07a6e9
......@@ -40,7 +40,9 @@ with open(path, "w") as f_w:
elif "agreement_url=" in line:
line = "agreement_url=\"%s\"\n"%(gateway['privacy'][0])
elif "home=" in line:
line = "home=\"%s\"\n"%(gateway['home'][0])
f_w.write(line)
print(gateway['home'][0]+"/privacy.html")
......@@ -27,6 +27,7 @@ echo "22、更新gateway"
echo "23、字符串加密"
echo "24、添加toolbox库"
echo "25、马甲包切换"
echo "26、打印checklist"
echo " "
if [[ "$gateway_url" == "$gateway_mj" ]];then
......@@ -223,7 +224,7 @@ then
cp script/api_mapping_main script/api_mapping
#APP名替换
sed -i "" "s#^app_name=.*#app_name=${main_name}#g" gradle.properties
sed -i "" "s#^app_name=.*#app_name='${main_name}'#g" gradle.properties
sed -i "" "s#^gateway_url=.*#gateway_url=\"${gateway_main}\"#g" gradle.properties
sed -i "" "s#^host_app=.*#host_app=true#g" gradle.properties
#更新gw
......@@ -240,7 +241,7 @@ then
cp script/api_mapping_majia script/api_mapping
#APP名替换
sed -i "" "s#^app_name=.*#app_name=${majia_name}#g" gradle.properties
sed -i "" "s#^app_name=.*#app_name='${majia_name}'#g" gradle.properties
sed -i "" "s#^gateway_url=.*#gateway_url=\"${gateway_mj}\"#g" gradle.properties
sed -i "" "s#^host_app=.*#host_app=false#g" gradle.properties
#更新gw
......@@ -249,7 +250,12 @@ then
python update_gateway.py
fi
elif (($commod == '26'));then
echo " "
echo "${corp_id} ${app_name} "
echo "对内协议:${agreement_url}"
echo "对外协议:${home}/privacy.html"
echo " "
elif (($commod == '10000'))
then
......
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