Commit 9200c956 authored by shiyu's avatar shiyu

钱币类型加上朝代信息

parent 299714a9
......@@ -51,9 +51,9 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
"/wx/exchange/findExchangeItem", "/wx/specialPerformance/findInfos", "/wx/specialPerformance/findItemList",
"/wx/groupPurchase/findList", "/wx/groupPurchase/findItemDetail", "/wx/exchangeApplyOrder/handleApplyOrder", "/wx/supplierItem/findDiscountList",
"/wx/storage/uploadVideo",
"/wx/appletPageConfig/**", "/wx/blindBox/**", "/wx/userSignIn/**"
"/wx/appletPageConfig/**", "/wx/blindBox/**", "/wx/userSignIn/**","/wx/sellActivity/**"
//下列路径上线注释
,"/wx/sellActivity/**","/wx/itemTagQrCode/**"
//"/wx/itemTagQrCode/**"
// ,"/wx/itemTagOperate/**", "/wx/openShop/**", "/wx/earnestRecord/**", "/wx/auctionEarnest/**", "/wx/userAccount/**"
/* ,"/wx/specialPerformance/**"
, "/wx/supplierItem/**", "/wx/shareRecord/**", "/wx/distributionOrder/**", "/wx/selfPage/**", "/wx/auctionRecord/**",
......
......@@ -102,6 +102,8 @@ public class ItemTagQrCodeServiceImpl implements ItemTagQrCodeService {
}
int categoryId = itemTagQrCode.getCategoryId();
Category category = categoryDao.findById(categoryId);
Category parentCategory = categoryDao.findById(category.getPid());
category.setName(parentCategory.getName() + "-" + category.getName());
return Result.success(category);
} catch (Exception e) {
logger.error("根据二维码code查询信息失败", e);
......
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