|
|
@ -50,14 +50,15 @@ public class ResiMineGridController { |
|
|
|
|
|
|
|
/** |
|
|
|
* @return |
|
|
|
* @param formDTO |
|
|
|
* @param appId |
|
|
|
* @Author sun |
|
|
|
* @Description 单客户-获取用户最近访问网格 |
|
|
|
* @Date 2020/8/3 |
|
|
|
**/ |
|
|
|
@GetMapping("latestgridinfo") |
|
|
|
public Result<LatestGridInfoResultDTO> latestGridInfo(@LoginUser TokenDto token, @RequestBody LatestGridInfoFormDTO formDTO) { |
|
|
|
ValidatorUtils.validateEntity(formDTO); |
|
|
|
public Result<LatestGridInfoResultDTO> latestGridInfo(@LoginUser TokenDto token, @RequestParam("appId") String appId) { |
|
|
|
LatestGridInfoFormDTO formDTO = new LatestGridInfoFormDTO(); |
|
|
|
formDTO.setAppId(appId); |
|
|
|
formDTO.setUserId(token.getUserId()); |
|
|
|
return new Result<LatestGridInfoResultDTO>().ok(resiMineGridService.latestGridInfo(formDTO)); |
|
|
|
} |
|
|
|