package com.template.api; import com.template.model.dto.ApartmentSettingDto; import com.template.model.pojo.ApartmentSetting; import com.template.model.result.CommonResult; import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @RequestMapping("/auto/apartment-setting") public interface ApartmentSettingControllerAPI { @PostMapping("/updateOrSave") @ApiOperation(value = "添加或修改公寓设置", notes = "添加或修改公寓设置", httpMethod = "POST") CommonResult updateOrSave(@RequestBody ApartmentSettingDto apartmentSettingDto); @GetMapping("/list") @ApiOperation(value = "查看公寓设置", notes = "查看公寓设置", httpMethod = "GET") CommonResult list(String permissionSettingId); @GetMapping("/appletList") @ApiOperation(value = "小程序——查看公寓设置", notes = "小程序——查看公寓设置", httpMethod = "GET") CommonResult appletList(); }