| | |
| | | |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import jakarta.mail.MessagingException; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.mdm.basesetting.machine.entity.Machine; |
| | | import org.springblade.mdm.commons.service.EmailService; |
| | | import org.springblade.mdm.gkw.programnode.entity.MachineFile; |
| | | import org.springblade.mdm.program.entity.NcNode; |
| | | import org.springblade.mdm.program.service.NcNodeService; |
| | |
| | | private ProgramAnnotationService programAnnotationService; |
| | | @Autowired |
| | | private IDictBizClient bizDictClient; |
| | | @Autowired |
| | | private EmailService mailService; |
| | | /** |
| | | * 新增 |
| | | */ |
| | |
| | | return this.bizDictClient.getList (code); |
| | | } |
| | | |
| | | @GetMapping("/sendmail") |
| | | @Operation(summary = "sendmail", description = "sendmail") |
| | | public R<Void> sendmail(String code) throws IOException, MessagingException { |
| | | |
| | | return R.success(); |
| | | } |
| | | |
| | | } |