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
f1af4b94
Commit
f1af4b94
authored
Nov 04, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c8bf3ec7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
src/main/java/com/common/bean/LatestLoanAppBean.java
+11
-0
src/main/java/tech/starwin/network/Gateway.java
+7
-2
No files found.
src/main/java/com/common/bean/LatestLoanAppBean.java
View file @
f1af4b94
...
@@ -56,6 +56,7 @@ public class LatestLoanAppBean implements Parcelable {
...
@@ -56,6 +56,7 @@ public class LatestLoanAppBean implements Parcelable {
var
.
loanAppId
=
source
.
readString
();
var
.
loanAppId
=
source
.
readString
();
var
.
paidAmount
=
source
.
readDouble
();
var
.
paidAmount
=
source
.
readDouble
();
var
.
status
=
source
.
readString
();
var
.
status
=
source
.
readString
();
var
.
contractNo
=
source
.
readString
();
return
var
;
return
var
;
}
}
...
@@ -99,6 +100,7 @@ public class LatestLoanAppBean implements Parcelable {
...
@@ -99,6 +100,7 @@ public class LatestLoanAppBean implements Parcelable {
private
String
applyFor
;
private
String
applyFor
;
private
String
applyChannel
;
private
String
applyChannel
;
private
long
couponId
;
private
long
couponId
;
private
String
contractNo
;
public
String
getApplyFor
()
{
public
String
getApplyFor
()
{
return
applyFor
;
return
applyFor
;
...
@@ -380,6 +382,14 @@ public class LatestLoanAppBean implements Parcelable {
...
@@ -380,6 +382,14 @@ public class LatestLoanAppBean implements Parcelable {
this
.
status
=
status
;
this
.
status
=
status
;
}
}
public
String
getContractNo
()
{
return
contractNo
;
}
public
void
setContractNo
(
String
contractNo
)
{
this
.
contractNo
=
contractNo
;
}
@Override
@Override
public
void
writeToParcel
(
Parcel
dest
,
int
flags
)
{
public
void
writeToParcel
(
Parcel
dest
,
int
flags
)
{
dest
.
writeDouble
(
this
.
serviceFeeAccr
);
dest
.
writeDouble
(
this
.
serviceFeeAccr
);
...
@@ -413,6 +423,7 @@ public class LatestLoanAppBean implements Parcelable {
...
@@ -413,6 +423,7 @@ public class LatestLoanAppBean implements Parcelable {
dest
.
writeString
(
this
.
loanAppId
);
dest
.
writeString
(
this
.
loanAppId
);
dest
.
writeDouble
(
this
.
paidAmount
);
dest
.
writeDouble
(
this
.
paidAmount
);
dest
.
writeString
(
this
.
status
);
dest
.
writeString
(
this
.
status
);
dest
.
writeString
(
this
.
contractNo
);
}
}
@Override
@Override
...
...
src/main/java/tech/starwin/network/Gateway.java
View file @
f1af4b94
...
@@ -54,7 +54,6 @@ public class Gateway {
...
@@ -54,7 +54,6 @@ public class Gateway {
}
}
/**
/**
* KSP成员协议
* KSP成员协议
*/
*/
...
@@ -78,7 +77,13 @@ public class Gateway {
...
@@ -78,7 +77,13 @@ public class Gateway {
* 贷款担保协议
* 贷款担保协议
*/
*/
public
static
String
getLoanAgreement
(
String
loanId
)
{
public
static
String
getLoanAgreement
(
String
loanId
)
{
return
getAdminUrl
()
+
LibConfig
.
LOAN_AGREEMENT
+
"?loanId="
+
loanId
;
StringBuilder
builder
=
new
StringBuilder
();
builder
.
append
(
getAdminUrl
())
.
append
(
"/contract/contract-template-detail"
)
.
append
(
"?loanId="
+
loanId
)
.
append
(
"&token="
+
LoginManager
.
get
().
getToken
());
String
url
=
builder
.
toString
();
return
url
;
}
}
...
...
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