mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>transmittable-thread-local</artifactId>
|
||||
<version>2.14.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
<artifactId>dubbo</artifactId>
|
||||
|
@@ -8,7 +8,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
@Inherited
|
||||
@Target(ElementType.METHOD)
|
||||
|
@@ -20,6 +20,8 @@ public class OpenContext {
|
||||
private static final String CLIENT_IP = "client.ip";
|
||||
private static final String TRACE_ID = "client.trace_id";
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取appId
|
||||
*/
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.gitee.sop.support.request;
|
||||
package com.gitee.sop.support.dto;
|
||||
|
||||
import lombok.Setter;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.gitee.sop.support.request;
|
||||
package com.gitee.sop.support.dto;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InputStream;
|
@@ -0,0 +1,42 @@
|
||||
package com.gitee.sop.support.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 回调信息
|
||||
*
|
||||
* @author 六如
|
||||
*/
|
||||
@Data
|
||||
public class NotifyInfo implements Serializable {
|
||||
private static final long serialVersionUID = -2492336644456313771L;
|
||||
|
||||
/**
|
||||
* 链路id
|
||||
*/
|
||||
private String traceId;
|
||||
|
||||
/**
|
||||
* 回调接口
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 跟在url后面的参数
|
||||
*/
|
||||
private Map<String, Object> query;
|
||||
|
||||
/**
|
||||
* 请求头
|
||||
*/
|
||||
private Map<String, Object> header;
|
||||
|
||||
/**
|
||||
* 请求体
|
||||
*/
|
||||
private Map<String, Object> body;
|
||||
|
||||
}
|
@@ -1,8 +1,13 @@
|
||||
package com.gitee.sop.support.service;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author 六如
|
||||
*/
|
||||
public interface IsvService {
|
||||
/**
|
||||
* 刷新isv
|
||||
* @param appId
|
||||
*/
|
||||
void refresh(String appId);
|
||||
}
|
||||
|
@@ -1 +1 @@
|
||||
com.gitee.sop.support.request.CommonFileData
|
||||
com.gitee.sop.support.dto.CommonFileData
|
||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user