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