暴露一个查询接口

Signed-off-by: Harry Chen <373685963@qq.com>