| | |
| | | private StoreClient storeClient; |
| | | |
| | | |
| | | @PostMapping("getAppUserById") |
| | | AppUser getAppUserById(@RequestParam("id") Long id){ |
| | | return appUserService.getById(id); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/appletLogin") |
| | |
| | | } |
| | | |
| | | |
| | | @PostMapping("/index") |
| | | @GetMapping("/index") |
| | | @ApiOperation(value = "个人中心首页", tags = {"小程序-个人中心首页"}) |
| | | public R<AppUser> index(){ |
| | | System.err.println("=-===="); |
| | |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 获取用户的祖籍列表 |
| | | */ |
| | | @GetMapping("/getUserAncestorList") |
| | | public R<List<AppUser>> getUserAncestorList(Long id){ |
| | | List<AppUser> list = appUserService.getUserAncestorList(id,null); |
| | | return R.ok(list); |
| | | } |
| | | |
| | | |
| | | |
| | | } |