mirror of
https://github.com/dataease/dataease.git
synced 2026-05-23 22:08:34 +08:00
perf: 自动创建用户设置(xpack)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package io.dataease.api.permissions.setting.api;
|
||||
|
||||
import io.dataease.api.permissions.setting.vo.PerSettingItemVO;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface PerSettingApi {
|
||||
|
||||
@GetMapping("/basic/query")
|
||||
List<PerSettingItemVO> basicSetting();
|
||||
|
||||
@PostMapping("/baisc/save")
|
||||
void saveBasic(@RequestBody List<Object> settings);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package io.dataease.api.permissions.setting.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class PerSettingItemVO implements Serializable {
|
||||
|
||||
private String pkey;
|
||||
|
||||
private String pval;
|
||||
|
||||
private String type;
|
||||
|
||||
private Integer sort;
|
||||
}
|
||||
Reference in New Issue
Block a user