| | |
| | | import com.mzl.flower.base.ReturnDataDTO; |
| | | import com.mzl.flower.dto.request.sms.SmsTemplateDTO; |
| | | import com.mzl.flower.dto.request.sms.SmsTemplateQueryDTO; |
| | | import com.mzl.flower.dto.response.sms.SmsTemplateListVO; |
| | | import com.mzl.flower.entity.SmsTemplateDO; |
| | | import com.mzl.flower.service.sms.SmsTemplateService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | return new Client(config); |
| | | } |
| | | |
| | | @GetMapping("/templateName/all") |
| | | @ApiOperation(value = "短信模板下拉列表", httpMethod = "GET") |
| | | public ResponseEntity<ReturnDataDTO> getSmsTemplateNameList() { |
| | | List<SmsTemplateListVO> allTemplateName = smsTemplateService.getAllTemplateName(); |
| | | return returnData(R.SUCCESS.getCode(), allTemplateName); |
| | | } |
| | | |
| | | } |