Class UserWeightController

java.lang.Object
io.github.seenings.info.controller.UserWeightController
All Implemented Interfaces:
io.github.seenings.info.http.HttpUserWeightService

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

    • UserWeightController

      public UserWeightController()
  • Method Details

    • userIdToWeightKg

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

      public boolean set(@RequestParam("userId") Long userId, @RequestParam("weightKg") Integer weightKg)
      Specified by:
      set in interface io.github.seenings.info.http.HttpUserWeightService