feat: 流量和余额不足提醒
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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