优化
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
package com.yxt.messagecenter.api.messageurgeList;
|
||||
|
||||
import com.yxt.common.core.result.ResultBean;
|
||||
import com.yxt.messagecenter.api.message.MessageFeignFallback;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
/**
|
||||
* @description:
|
||||
@@ -14,4 +18,8 @@ import org.springframework.cloud.openfeign.FeignClient;
|
||||
path = "v1/MessageUrgeList",
|
||||
fallback = MessageUrgeListFeignFallback.class)
|
||||
public interface MessageUrgeListFeign {
|
||||
|
||||
@ApiOperation("人工催办")
|
||||
@PostMapping(value = "/manualReminder")
|
||||
ResultBean manualReminder(@RequestBody UrgeDto dto);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.yxt.messagecenter.api.messageurgeList;
|
||||
|
||||
import com.yxt.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description:
|
||||
* @author: dimengzhe
|
||||
* @date: 2023/9/13
|
||||
**/
|
||||
@Data
|
||||
public class UrgeDto implements Dto {
|
||||
private static final long serialVersionUID = 6869859199655790013L;
|
||||
@ApiModelProperty("流程定义id")
|
||||
private String proDefId;
|
||||
@ApiModelProperty("流程实例id")
|
||||
private String proInstId;
|
||||
}
|
||||
Reference in New Issue
Block a user