2
0

feat: 流量和余额不足提醒

This commit is contained in:
caiyuchao
2025-06-16 18:00:33 +08:00
parent a2cb97ce4c
commit b70ac9d5cc
16 changed files with 239 additions and 48 deletions

View File

@@ -91,4 +91,7 @@ public interface RemoteUUserService
@GetMapping(value = "/order/{id}")
public R<UOrderVo> getOrderById(@PathVariable("id") Long id);
@PostMapping("/account/reminder")
public R<Boolean> sendReminderEMail();
}

View File

@@ -82,6 +82,11 @@ public class RemoteUUserFallbackFactory implements FallbackFactory<RemoteUUserSe
public R<UOrderVo> getOrderById(Long id) {
return R.fail("get order error:" + throwable.getMessage());
}
@Override
public R<Boolean> sendReminderEMail() {
return R.fail("send reminder email error:" + throwable.getMessage());
}
};
}
}