Commit 0577d0f2 authored by tangtuo's avatar tangtuo

nft详情接口接入类目字段

parent 43b35484
...@@ -133,7 +133,9 @@ public class NftController { ...@@ -133,7 +133,9 @@ public class NftController {
if (user == null) { if (user == null) {
throw GlobalException.newException(ResultCode.DATA_ERROR, "没找到此nft的发布人的信息"); throw GlobalException.newException(ResultCode.DATA_ERROR, "没找到此nft的发布人的信息");
} }
return ResponseModel.success(new NftVo(nft, user)); NftVo nftVo = new NftVo(nft, user);
nftVo.setCategory(categoryService.getById(nft.getCategoryId()).getCategoryName());
return ResponseModel.success(nftVo);
} }
@SaCheckLogin @SaCheckLogin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment