| | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.study.api.domain.TUser; |
| | | import com.ruoyi.study.api.dto.*; |
| | | import com.ruoyi.study.api.feignClient.StudyClient; |
| | | import com.ruoyi.study.api.model.TStory; |
| | |
| | | @Override |
| | | public StudyClient create(Throwable cause) { |
| | | return new StudyClient() { |
| | | @Override |
| | | public R vipBack(Integer id) { |
| | | return R.fail("用户购买会员退款失败" + cause.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<PageInfo<AppUserVO>> couponReceive(AppUserQuery query) { |
| | | return R.fail("获取用户列表查询失败" + cause.getMessage()); |
| | |
| | | public R updateState1(Integer id, Integer state) { |
| | | return R.fail("修改故事状态失败" + cause.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<TUser> userInfo() { |
| | | return R.fail("获取用户信息失败" + cause.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<Boolean> addIntegralDetail(String integral, String method) { |
| | | return R.fail("生成积分明细信息失败" + cause.getMessage()); |
| | | } |
| | | }; |
| | | } |
| | | } |