Commit 4edfffe3 authored by shiyu's avatar shiyu

出价被超越短信恢复

parent 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);
} }
} }
//插入最新出价记录 //插入最新出价记录
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment