|
|
@ -70,8 +70,10 @@ public class MiniProgramController {
|
|
|
|
@AustinResult
|
|
|
|
@AustinResult
|
|
|
|
public CommonAmisVo queryDetailList(Integer id, String wxTemplateId) {
|
|
|
|
public CommonAmisVo queryDetailList(Integer id, String wxTemplateId) {
|
|
|
|
if (Objects.isNull(id) || Objects.isNull(wxTemplateId)) {
|
|
|
|
if (Objects.isNull(id) || Objects.isNull(wxTemplateId)) {
|
|
|
|
throw new CommonException(RespStatusEnum.CLIENT_BAD_PARAMETERS);
|
|
|
|
log.info("id || wxTemplateId null! id:{},wxTemplateId:{}", id, wxTemplateId);
|
|
|
|
|
|
|
|
return CommonAmisVo.builder().build();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
WxMaService wxMaService = accountUtils.getAccountById(id, WxMaService.class);
|
|
|
|
WxMaService wxMaService = accountUtils.getAccountById(id, WxMaService.class);
|
|
|
|
List<TemplateInfo> templateList = wxMaService.getSubscribeService().getTemplateList();
|
|
|
|
List<TemplateInfo> templateList = wxMaService.getSubscribeService().getTemplateList();
|
|
|
|