|
|
@@ -2263,21 +2263,21 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
//TODO 如未发车逻辑
|
|
|
groupsRelationMapper.updateById(relation);
|
|
|
Account account = null;
|
|
|
- if (envCommonService.isPrdEnv() && order.getOrderType() == 2) {
|
|
|
- //ChatGPT plus 独立和Midjourney 独立有人续费了发短信
|
|
|
- if (Constant.AI_goodsIds.contains(order.getGoodsId()) && sku.getNum() == 1) {
|
|
|
- try {
|
|
|
- String accountStr = StrUtil.EMPTY;
|
|
|
- account = accountMapper.selectById(groupsTrips.getAccountId());
|
|
|
- if (account != null) {
|
|
|
- accountStr = account.getAccount();
|
|
|
- }
|
|
|
- String renew_msg = String.format(Constant.AI_RENEW_MSG, order.getUserId(), goodsDon.getTitle(), sku.getSpecVal(), accountStr);
|
|
|
- SmsUtil.sendLuoKey2Msg(Constant.SERVICE_PHONE, renew_msg);
|
|
|
- } catch (Exception e) {
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+// if (envCommonService.isPrdEnv() && order.getOrderType() == 2) {
|
|
|
+// //ChatGPT plus 独立和Midjourney 独立有人续费了发短信
|
|
|
+// if (Constant.AI_goodsIds.contains(order.getGoodsId()) && sku.getNum() == 1) {
|
|
|
+// try {
|
|
|
+// String accountStr = StrUtil.EMPTY;
|
|
|
+// account = accountMapper.selectById(groupsTrips.getAccountId());
|
|
|
+// if (account != null) {
|
|
|
+// accountStr = account.getAccount();
|
|
|
+// }
|
|
|
+// String renew_msg = String.format(Constant.AI_RENEW_MSG, order.getUserId(), goodsDon.getTitle(), sku.getSpecVal(), accountStr);
|
|
|
+// SmsUtil.sendLuoKey2Msg(Constant.SERVICE_PHONE, renew_msg);
|
|
|
+// } catch (Exception e) {
|
|
|
+// }
|
|
|
+// }
|
|
|
+// }
|
|
|
//GPT 代充 发送短信通知
|
|
|
// if (envCommonService.isPrdEnv() && order.getGoodsId() == 40l) {
|
|
|
// try {
|