Interface HttpSchoolService


@HttpExchange("seen/feign-v1/school/school") public interface HttpSchoolService
HttpSchoolService
Since:
2022-12-03
Author:
chixuehui
  • Method Details

    • idToSchoolName

      @PostExchange("id-to-school-name") Map<String,String> idToSchoolName(@RequestBody Set<String> ids)
    • locationToSchoolCode

      @PostExchange("location-to-school-code") Map<String, Set<String>> locationToSchoolCode(@RequestBody Set<String> locations)
      根据所在地获取学校标识符
      Parameters:
      locations - 所在地
      Returns:
      所在地对应学校标识符
    • schoolCodeToLocation

      @PostExchange("school-code-to-location") Map<String,String> schoolCodeToLocation(@RequestBody Set<String> schoolCodes)
      根据学校标识符获取所在地
      Parameters:
      schoolCodes - 学校标识符
      Returns:
      学校标识符对应所在地
    • toSchool

      @PostExchange("to-school") List<School> toSchool()
      获取所有学校的信息
      Returns:
      所有学校的信息
    • uploadExcelAll

      @PostExchange("upload-execl-all") List<School> uploadExcelAll(@RequestParam org.springframework.web.multipart.MultipartFile file)