Commit 4138bde8 by sikang

隐私协议添加动态name

parent c989ef12
......@@ -254,7 +254,7 @@ elif (($commod == '26'));then
echo " "
echo "${corp_id} ${app_name} "
echo "对内协议:${agreement_url}"
echo "对外协议:${home}/privacy.html"
echo "对外协议:${home}/privacy.html?name=${app_name}"
echo "gateway:${gateway_url}"
echo " "
cd print
......
......@@ -5,7 +5,9 @@ import java.util.Arrays;
import java.util.List;
import tech.starwin.LibConfig;
import com.common.bean.GatewayInfoBean;
import tech.starwin.utils.LoginManager;
import tech.starwin.utils.PreferencesManager;
......@@ -43,21 +45,21 @@ public class Gateway {
/**
* 注册协议和隐私政策
* */
*/
public static String getAgreementPolicyUrl() {
return gatewayInfo.privacy.get(0);
return gatewayInfo.privacy.get(0) + "?name=" + LibConfig.APP_NAME;
}
/**
* KSP成员协议
* */
*/
public static String getKSPUrl() {
return getAgreementPolicyUrl().replace(".html","Ksp.html");
return getAgreementPolicyUrl().replace(".html", "Ksp.html");
}
/**
* 上传地址
* */
*/
public static String getHarvesterUrl() {
return gatewayInfo.harvester.get(0);
}
......@@ -75,7 +77,6 @@ public class Gateway {
}
/**
* 还款页面
*/
......
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