Toggle navigation
Toggle navigation
This project
Loading...
Sign in
YOHOBUY
/
yohobuy-union
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
zhaoqing
7 years ago
Commit
a3829d60014ec05c28a416e7497827a8efe97a42
2 parents
356783eb
6789b43c
Merge branch 'dev_180508_联盟红人推广' into test6.6.1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
server/src/main/java/com/yoho/unions/server/service/impl/UnionShareServiceImpl.java
web/src/main/resources/global.properties
server/src/main/java/com/yoho/unions/server/service/impl/UnionShareServiceImpl.java
View file @
a3829d6
...
...
@@ -78,7 +78,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
private
String
NEW_USER_REBATES_RATIO_KEY
=
"union.newUserRebatesRatio"
;
private
String
OLD_USER_REBATES_RATIO_KEY
=
"union.oldUserRebatesRatio"
;
private
String
UNION_SHAREID
=
"union.shareId"
;
private
String
UNION_
URL
=
"union.u
rl"
;
private
String
UNION_
CPS_IMAGEURL
=
"union.cps.ImageU
rl"
;
/**
* 获取用户可提现金额、已提现金额、是否可以提现
...
...
@@ -250,7 +250,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
}
//设置返回文案
unionShareUser
.
setShareId
(
configReader
.
getString
(
UNION_SHAREID
,
""
));
unionShareUser
.
setImageUrl
(
configReader
.
getString
(
UNION_URL
,
""
));
unionShareUser
.
setImageUrl
(
configReader
.
getString
(
UNION_
CPS_IMAGE
URL
,
""
));
//设置缓存
addToRedis
(
ShareOrdersKeyEnum
.
UNION_TYPE
,
uid
,
unionShareUser
,
key
);
return
unionShareUser
;
...
...
web/src/main/resources/global.properties
View file @
a3829d6
union.newUserRebatesRatio
=
10
union.oldUserRebatesRatio
=
3
union.shareId
=
1
union.url
=
http://img10.static.yhbimg.com/article/2018/05/18/14/017112c48a4af09fdf161356b4b12f7059.png
\ No newline at end of file
union.shareId
=
1106
union.cps.ImageUrl
=
http://img10.static.yhbimg.com/article/2018/05/18/14/017112c48a4af09fdf161356b4b12f7059.png
\ No newline at end of file
...
...
Please
register
or
login
to post a comment