|
|
|
@ -70,8 +70,10 @@ public class MiniProgramController {
|
|
|
|
|
@AustinResult
|
|
|
|
|
public CommonAmisVo queryDetailList(Integer id, String 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 {
|
|
|
|
|
WxMaService wxMaService = accountUtils.getAccountById(id, WxMaService.class);
|
|
|
|
|
List<TemplateInfo> templateList = wxMaService.getSubscribeService().getTemplateList();
|
|
|
|
|