feat: 流量和余额不足提醒
This commit is contained in:
1 parent
a2cb97ce4c
commit
b70ac9d5cc
16 files changed
+239
-48
No files matched your search
@@ -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();
|
||||
}
|
||||
+5
@@ -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());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user