Activiti7精讲&Java通用型工作流开发实战

Activiti7精讲&Java通用型工作流开发实战

 

Activiti7精讲&Java通用型工作流开发实战

v: ititit111222333

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import xyz.staffjoy.common.api.BaseResponse;
import xyz.staffjoy.mail.MailConstant;
import xyz.staffjoy.mail.dto.EmailRequest;

import javax.validation.Valid;

@FeignClient(name = MailConstant.SERVICE_NAME, path = "/v1", url = "${staffjoy.email-service-endpoint}")
public interface MailClient {
    @PostMapping(path = "/send")
    BaseResponse send(@RequestBody @Valid EmailRequest request);
}

 

上一篇:​LeetCode刷题实战249:移位字符串分组


下一篇:springboot 引入AOP 切面 @Aspect 注解使用