Class UserCurrentResidenceController

java.lang.Object
io.github.seenings.info.controller.UserCurrentResidenceController
All Implemented Interfaces:
io.github.seenings.info.http.HttpUserCurrentResidenceService

@RestController public class UserCurrentResidenceController extends Object implements io.github.seenings.info.http.HttpUserCurrentResidenceService
UserCurrentResidenceController
Since:
2022-10-16
Author:
chixuehui
  • Constructor Details

    • UserCurrentResidenceController

      public UserCurrentResidenceController()
  • Method Details

    • userIdToCityId

      public Map<Long,Integer> userIdToCityId(Set<Long> userIds)
      Specified by:
      userIdToCityId in interface io.github.seenings.info.http.HttpUserCurrentResidenceService
    • userIdToProvinceId

      public Map<Long,Integer> userIdToProvinceId(Set<Long> userIds)
      Specified by:
      userIdToProvinceId in interface io.github.seenings.info.http.HttpUserCurrentResidenceService
    • set

      public boolean set(Long userId, Integer provinceId, Integer cityId)
      Specified by:
      set in interface io.github.seenings.info.http.HttpUserCurrentResidenceService
    • currentResidenceCityToUserId

      public List<Long> currentResidenceCityToUserId(Integer cityId, int current, int size)
      Specified by:
      currentResidenceCityToUserId in interface io.github.seenings.info.http.HttpUserCurrentResidenceService