Skip to content

Commit

Permalink
(improvement) (headless) fiexe compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jipengli committed Feb 27, 2024
1 parent b8be106 commit 81ee1bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import com.tencent.supersonic.headless.api.pojo.request.QueryMultiStructReq;
import com.tencent.supersonic.headless.api.pojo.request.QuerySqlReq;
import com.tencent.supersonic.headless.api.pojo.request.QueryStructReq;
import com.tencent.supersonic.headless.api.pojo.request.QueryTagReq;
import com.tencent.supersonic.headless.api.pojo.response.ExplainResp;
import com.tencent.supersonic.headless.api.pojo.response.ItemQueryResultResp;
import com.tencent.supersonic.headless.api.pojo.response.ItemUseResp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Boolean delete(@PathVariable("id") Long id,
public TagResp getTag(@PathVariable("id") Long id,
HttpServletRequest request,
HttpServletResponse response) {
return tagService.getMetric(id);
return tagService.getTag(id);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public interface TagService {

void delete(Long id, User user) throws Exception;

TagResp getMetric(Long id);
TagResp getTag(Long id);

List<TagResp> query(TagFilter tagFilter);
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void delete(Long id, User user) throws Exception {
}

@Override
public TagResp getMetric(Long id) {
public TagResp getTag(Long id) {
return convert(tagRepository.getTagById(id));
}

Expand Down

0 comments on commit 81ee1bd

Please sign in to comment.