记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
bf0c5082
Commit
bf0c5082
authored
Nov 22, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改脚本
parent
bdbdcdb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
DataImpl.java
...quidnet/service/platform/service/impl/kylin/DataImpl.java
+8
-8
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/kylin/DataImpl.java
View file @
bf0c5082
...
...
@@ -97,12 +97,12 @@ public class DataImpl {
}
//获取演出每日任务积分
Integer
performancePrice
=
orderTicketsMapper
.
getOrderScore
(
uid
);
score
+=
(
performancePrice
.
intValue
()
/
100
);
score
+=
(
performancePrice
.
intValue
());
//获取商品每日任务积分
String
resultData
=
HttpUtil
.
get
(
"http://
devmall.zhengzai.tv/admin/sumUserCost?user_id="
+
1
,
null
);
String
resultData
=
HttpUtil
.
get
(
"http://
mall.zhengzai.tv/admin/sumUserCost?user_id="
+
uid
,
null
);
int
goodsPrice
=
(
int
)
JSONObject
.
parseObject
(
resultData
).
get
(
"cost"
);
try
{
score
+=
(
goodsPrice
/
100
);
score
+=
(
goodsPrice
);
}
catch
(
Exception
e
){
}
...
...
@@ -141,7 +141,7 @@ public class DataImpl {
if
(
isLog
<=
0
)
{
MultiValueMap
<
String
,
String
>
params
=
CollectionUtil
.
linkedMultiValueMapStringString
();
params
.
add
(
"uid"
,
uid
);
params
.
add
(
"score"
,
score
+
""
);
params
.
add
(
"score"
,
(
score
>=
12000
?
12000
:
score
)
+
""
);
params
.
add
(
"content"
,
"历史积分"
);
HttpUtil
.
post
(
stoneUrl
+
"/user/logs/in2111"
,
params
);
}
...
...
@@ -180,11 +180,11 @@ public class DataImpl {
}
//获取演出每日任务积分
Integer
performancePrice
=
orderTicketsMapper
.
getOrderScore
(
uid
);
score
+=
performancePrice
.
intValue
()
/
100
;
score
+=
performancePrice
.
intValue
();
//获取商品每日任务积分
String
resultData
=
HttpUtil
.
get
(
"http://
devmall.zhengzai.tv/admin/sumUserCost?user_id="
+
1
,
null
);
String
resultData
=
HttpUtil
.
get
(
"http://
mall.zhengzai.tv/admin/sumUserCost?user_id="
+
uid
,
null
);
int
goodsPrice
=
(
int
)
JSONObject
.
parseObject
(
resultData
).
get
(
"cost"
);
score
+=
goodsPrice
/
100
;
score
+=
goodsPrice
;
//获取 关注摩登天空服务号
if
(
getUnionIdByPhone
(
mobile
)
!=
null
)
{
...
...
@@ -220,7 +220,7 @@ public class DataImpl {
if
(
isLog
<=
0
)
{
MultiValueMap
<
String
,
String
>
params
=
CollectionUtil
.
linkedMultiValueMapStringString
();
params
.
add
(
"uid"
,
uid
);
params
.
add
(
"score"
,
score
+
""
);
params
.
add
(
"score"
,
(
score
>=
12000
?
12000
:
score
)
+
""
);
params
.
add
(
"content"
,
"历史积分"
);
HttpUtil
.
post
(
stoneUrl
+
"/user/logs/in2111"
,
params
);
}
...
...
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