mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 22:25:19 +00:00
(improvement)(knowledge) add keyValue parameter for queryDictValue (#1749)
This commit is contained in:
@@ -13,4 +13,6 @@ public class DictValueReq extends PageBaseReq {
|
||||
private Long itemId;
|
||||
|
||||
private TypeEnums type = TypeEnums.DIMENSION;
|
||||
|
||||
private String keyValue;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.response;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author: kanedai
|
||||
* @date: 2024/9/29
|
||||
*/
|
||||
@Data
|
||||
@ToString
|
||||
public class DictValueDimResp extends DictValueResp {
|
||||
/** dimension value for result show */
|
||||
private String bizName;
|
||||
|
||||
/** dimension value for user query */
|
||||
private List<String> alias = new ArrayList<>();
|
||||
}
|
||||
Reference in New Issue
Block a user