Commit 4a6043dd by sikang

bug fix policy url

parent 17253cf4
...@@ -253,7 +253,7 @@ then ...@@ -253,7 +253,7 @@ then
elif (($commod == '26'));then elif (($commod == '26'));then
echo " " echo " "
echo "${corp_id} ${app_name} " echo "${corp_id} ${app_name} "
echo "对内协议:${agreement_url}" echo "对内协议:${agreement_url}?name=${app_name}"
echo "对外协议:${home}/privacy.html?name=${app_name}" echo "对外协议:${home}/privacy.html?name=${app_name}"
echo "gateway:${gateway_url}" echo "gateway:${gateway_url}"
echo " " echo " "
......
...@@ -47,7 +47,7 @@ public class Gateway { ...@@ -47,7 +47,7 @@ public class Gateway {
* 注册协议和隐私政策 * 注册协议和隐私政策
*/ */
public static String getAgreementPolicyUrl() { public static String getAgreementPolicyUrl() {
return gatewayInfo.privacy.get(0) + "?name=" + LibConfig.APP_NAME; return gatewayInfo.privacy.get(0) + "?name=" + LibConfig.APP_NAME.replace(" ","%20");
} }
/** /**
......
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