Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
896fefc3
Commit
896fefc3
authored
Oct 09, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出价被超越短信先不发送
parent
fe3d5ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/AuctionRecordServiceImpl.java
...wdz/ch/wx/impl/distribution/AuctionRecordServiceImpl.java
+4
-4
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/AuctionRecordServiceImpl.java
View file @
896fefc3
...
@@ -166,13 +166,13 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
...
@@ -166,13 +166,13 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
String
url
=
wxAppletApi
.
getUrlLink
(
AUCTION_MSG_URL
,
"itemId="
+
itemId
+
"&shareRecordId="
);
String
url
=
wxAppletApi
.
getUrlLink
(
AUCTION_MSG_URL
,
"itemId="
+
itemId
+
"&shareRecordId="
);
String
msg
=
"您出价过的拍品"
+
supplierItem
.
getName
()
+
"的价格被其他人超越了, 当前价是"
+
PriceUtil
.
convertPriceFenToYuan
(
price
)
+
String
msg
=
"您出价过的拍品"
+
supplierItem
.
getName
()
+
"的价格被其他人超越了, 当前价是"
+
PriceUtil
.
convertPriceFenToYuan
(
price
)
+
"元,竞拍截止时间是"
+
DateUtils
.
toString
(
endTime
)
+
", 请前往"
+
url
+
"查看"
;
"元,竞拍截止时间是"
+
DateUtils
.
toString
(
endTime
)
+
", 请前往"
+
url
+
"查看"
;
aliSmsSender
.
sendSms
(
auctionRecord
.
getUserId
(),
msg
);
//
aliSmsSender.sendSms(auctionRecord.getUserId(), msg);
}
}
}
else
{
}
else
{
String
url
=
wxAppletApi
.
getUrlLink
(
AUCTION_MSG_URL
,
"itemId="
+
itemId
+
"&shareRecordId="
);
String
url
=
wxAppletApi
.
getUrlLink
(
AUCTION_MSG_URL
,
"itemId="
+
itemId
+
"&shareRecordId="
);
String
msg
=
"您出价过的拍品"
+
supplierItem
.
getName
()
+
"的价格被其他人超越了, 当前价是"
+
PriceUtil
.
convertPriceFenToYuan
(
price
)
+
String
msg
=
"您出价过的拍品"
+
supplierItem
.
getName
()
+
"的价格被其他人超越了, 当前价是"
+
PriceUtil
.
convertPriceFenToYuan
(
price
)
+
"元,竞拍截止时间是"
+
DateUtils
.
toString
(
endTime
)
+
", 请前往"
+
url
+
"查看"
;
"元,竞拍截止时间是"
+
DateUtils
.
toString
(
endTime
)
+
", 请前往"
+
url
+
"查看"
;
aliSmsSender
.
sendSms
(
auctionRecord
.
getUserId
(),
msg
);
//
aliSmsSender.sendSms(auctionRecord.getUserId(), msg);
}
}
}
}
//插入最新出价记录
//插入最新出价记录
...
@@ -201,7 +201,7 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
...
@@ -201,7 +201,7 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
}
}
//发送消息通知对应的分销商有用户出价, 排除分销商id为系统默认账号的情况
//发送消息通知对应的分销商有用户出价, 排除分销商id为系统默认账号的情况
if
(
distributorShareRecord
.
getDistributorId
().
longValue
()
!=
CommConsts
.
SYSTEM_ACCOUNT
)
{
/*
if (distributorShareRecord.getDistributorId().longValue() != CommConsts.SYSTEM_ACCOUNT) {
String openId = sendMsgService.getOpenIdByUserId(distributorShareRecord.getDistributorId());
String openId = sendMsgService.getOpenIdByUserId(distributorShareRecord.getDistributorId());
if (com.xxdxxs.utils.StringUtils.hasLength(openId)) {
if (com.xxdxxs.utils.StringUtils.hasLength(openId)) {
AuctionOfferNoticeMsg auctionOfferNoticeMsg = new AuctionOfferNoticeMsg();
AuctionOfferNoticeMsg auctionOfferNoticeMsg = new AuctionOfferNoticeMsg();
...
@@ -222,7 +222,7 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
...
@@ -222,7 +222,7 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
"元,请前往"+ url + "查看";
"元,请前往"+ url + "查看";
aliSmsSender.sendSms(distributorShareRecord.getDistributorId(), msg);
aliSmsSender.sendSms(distributorShareRecord.getDistributorId(), msg);
}
}
}
}
*/
return
Result
.
success
();
return
Result
.
success
();
}
else
{
}
else
{
return
Result
.
failed
(
"出价者较多,请刷新出价记录"
);
return
Result
.
failed
(
"出价者较多,请刷新出价记录"
);
...
...
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