mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
@@ -3,6 +3,7 @@ package io.dataease.api.system;
|
||||
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
|
||||
import io.dataease.api.system.request.OnlineMapEditor;
|
||||
import io.dataease.api.system.vo.SettingItemVO;
|
||||
import io.dataease.api.system.vo.ShareBaseVO;
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
@@ -52,4 +53,8 @@ public interface SysParameterApi {
|
||||
@GetMapping("/defaultLogin")
|
||||
Integer defaultLogin();
|
||||
|
||||
@GetMapping("/shareBase")
|
||||
@Operation(summary = "查询分享设置")
|
||||
ShareBaseVO shareBase();
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package io.dataease.api.system.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Schema(description = "分享设置参数项")
|
||||
@Data
|
||||
public class ShareBaseVO implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = -8418758128428770485L;
|
||||
@Schema(description = "禁用分享")
|
||||
private boolean disable;
|
||||
|
||||
@Schema(description = "有效期密码必填")
|
||||
private boolean peRequire;
|
||||
}
|
||||
@@ -33,5 +33,9 @@ public class XpackShareProxyVO implements Serializable {
|
||||
private String type;
|
||||
private boolean inIframeError = true;
|
||||
|
||||
private boolean shareDisable = false;
|
||||
|
||||
private boolean peRequireValid = true;
|
||||
|
||||
private TicketValidVO ticketValidVO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user