陶杰
2024-12-30 086adfdf1d5340a3503da5b5ebcae9073775450e
src/main/java/com/mzl/flower/web/v2/sms/SmsTemplateController.java
@@ -64,7 +64,7 @@
        return returnData(R.SUCCESS.getCode(), smsTemplateService.queryPage(dto, page));
    }
    @GetMapping("/template/list")
    @GetMapping("/aliyun/list")
    @ApiOperation(value = "短信模板列表", httpMethod = "GET")
    public ResponseEntity<ReturnDataDTO<Page<SmsTemplateDO>>> getALSmsTemplateList(Page page, SmsTemplateQueryDTO dto) throws Exception {
        Client client = createClient();
@@ -88,8 +88,8 @@
        return new Client(config);
    }
    @GetMapping("/aliyun/all")
    @ApiOperation(value = "阿里云短信模板下拉列表", httpMethod = "GET")
    @GetMapping("/templateName/all")
    @ApiOperation(value = "短信模板下拉列表", httpMethod = "GET")
    public ResponseEntity<ReturnDataDTO> getSmsTemplateNameList() {
        List<SmsTemplateListVO> allTemplateName = smsTemplateService.getAllTemplateName();
        return returnData(R.SUCCESS.getCode(), allTemplateName);