mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 11:21:44 +08:00
feat(X-Pack): 代理设置 close #8300
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package io.dataease.plugins.xpack.proxy.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class ProxyInfo implements Serializable {
|
||||
|
||||
private String httpProxy;
|
||||
|
||||
private String proxyAccount;
|
||||
|
||||
private String proxyPwd;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package io.dataease.plugins.xpack.proxy.service;
|
||||
|
||||
import io.dataease.plugins.common.service.PluginComponentService;
|
||||
import io.dataease.plugins.xpack.display.dto.response.SysSettingDto;
|
||||
import io.dataease.plugins.xpack.proxy.dto.ProxyInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class ProxyXpackService extends PluginComponentService {
|
||||
|
||||
public abstract ProxyInfo info();
|
||||
|
||||
public abstract void save(List<SysSettingDto> settings);
|
||||
|
||||
public abstract void setProxy();
|
||||
}
|
||||
Reference in New Issue
Block a user