| | |
| | | package com.xinquan.system.api.factory; |
| | | |
| | | import com.xinquan.common.core.domain.R; |
| | | import com.xinquan.system.api.domain.SysRole; |
| | | import com.xinquan.system.api.domain.SysUser; |
| | | import com.xinquan.common.core.web.domain.AjaxResult; |
| | | import com.xinquan.system.api.domain.*; |
| | | import com.xinquan.system.api.feignClient.SysUserClient; |
| | | import java.util.List; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | |
| | | return new SysUserClient(){ |
| | | |
| | | @Override |
| | | public R<List<SysMenu>> roleInfoFromUserId(Long userId) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public R<List<TreeLevelSetting>> getTreeGroup() { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public R<SysUser> getSysUser(Long userId) { |
| | | return R.fail("获取用户失败:" + cause.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<CommissionRule> getCommission() { |
| | | return R.fail("获取分佣比例设置失败:" + cause.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<Boolean> updateSysUser(SysUser sysUser) { |
| | | return R.fail("更新用户失败:" + cause.getMessage()); |
| | | } |