| | |
| | | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; |
| | | import com.ruoyi.framework.web.controller.BaseController; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | public List customerList(Customer customer) { |
| | | return customerService.customerList(customer); |
| | | } |
| | | |
| | | @GetMapping("/regions") |
| | | @ApiOperation("获取客户地区") |
| | | public AjaxResult getRegions() { |
| | | List<String> regionsList = customerService.regionsList(); |
| | | return AjaxResult.success(regionsList); |
| | | } |
| | | } |