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
4138bde8
Commit
4138bde8
authored
Jul 19, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐私协议添加动态name
parent
c989ef12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
script/script_help.sh
+1
-1
src/main/java/tech/starwin/network/Gateway.java
+7
-6
No files found.
script/script_help.sh
View file @
4138bde8
...
@@ -254,7 +254,7 @@ elif (($commod == '26'));then
...
@@ -254,7 +254,7 @@ elif (($commod == '26'));then
echo
" "
echo
" "
echo
"
${
corp_id
}
${
app_name
}
"
echo
"
${
corp_id
}
${
app_name
}
"
echo
"对内协议:
${
agreement_url
}
"
echo
"对内协议:
${
agreement_url
}
"
echo
"对外协议:
${
home
}
/privacy.html"
echo
"对外协议:
${
home
}
/privacy.html
?name=
${
app_name
}
"
echo
"gateway:
${
gateway_url
}
"
echo
"gateway:
${
gateway_url
}
"
echo
" "
echo
" "
cd
print
cd
print
...
...
src/main/java/tech/starwin/network/Gateway.java
View file @
4138bde8
...
@@ -5,7 +5,9 @@ import java.util.Arrays;
...
@@ -5,7 +5,9 @@ import java.util.Arrays;
import
java.util.List
;
import
java.util.List
;
import
tech.starwin.LibConfig
;
import
tech.starwin.LibConfig
;
import
com.common.bean.GatewayInfoBean
;
import
com.common.bean.GatewayInfoBean
;
import
tech.starwin.utils.LoginManager
;
import
tech.starwin.utils.LoginManager
;
import
tech.starwin.utils.PreferencesManager
;
import
tech.starwin.utils.PreferencesManager
;
...
@@ -43,21 +45,21 @@ public class Gateway {
...
@@ -43,21 +45,21 @@ public class Gateway {
/**
/**
* 注册协议和隐私政策
* 注册协议和隐私政策
*
*
/
*/
public
static
String
getAgreementPolicyUrl
()
{
public
static
String
getAgreementPolicyUrl
()
{
return
gatewayInfo
.
privacy
.
get
(
0
);
return
gatewayInfo
.
privacy
.
get
(
0
)
+
"?name="
+
LibConfig
.
APP_NAME
;
}
}
/**
/**
* KSP成员协议
* KSP成员协议
*
*
/
*/
public
static
String
getKSPUrl
()
{
public
static
String
getKSPUrl
()
{
return
getAgreementPolicyUrl
().
replace
(
".html"
,
"Ksp.html"
);
return
getAgreementPolicyUrl
().
replace
(
".html"
,
"Ksp.html"
);
}
}
/**
/**
* 上传地址
* 上传地址
*
*
/
*/
public
static
String
getHarvesterUrl
()
{
public
static
String
getHarvesterUrl
()
{
return
gatewayInfo
.
harvester
.
get
(
0
);
return
gatewayInfo
.
harvester
.
get
(
0
);
}
}
...
@@ -75,7 +77,6 @@ public class Gateway {
...
@@ -75,7 +77,6 @@ public class Gateway {
}
}
/**
/**
* 还款页面
* 还款页面
*/
*/
...
...
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