mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 10:16:38 +08:00
debugger
This commit is contained in:
parent
36d2aaf21c
commit
e75e2149dc
@ -33,7 +33,7 @@ public class GoodService {
|
||||
public GoodsEntity listGoodsByProductCode(String productCode){
|
||||
String ip = "https://shop.royalcanin.com.cn/royalcanin/royalcanin/";
|
||||
GoodsEntity goodsEntity = goodsDao.findByProductCode(productCode);
|
||||
goodsEntity.setShowImgFile(ip+goodsEntity.getPicture());
|
||||
goodsEntity.setShowImgFile(ip+goodsEntity.getShowImgFile());
|
||||
goodsEntity.setPicture(ip+goodsEntity.getPicture());
|
||||
return goodsEntity;
|
||||
}
|
||||
@ -42,7 +42,7 @@ public class GoodService {
|
||||
String ip = "https://shop.royalcanin.com.cn/royalcanin/royalcanin/";
|
||||
List<GoodsEntity> goodsList = goodsDao.selectRoleIdByGoodsNameBankNameTagUsedAge(title,petType);
|
||||
for (GoodsEntity goodsEntity:goodsList) {
|
||||
goodsEntity.setShowImgFile(ip+goodsEntity.getPicture());
|
||||
goodsEntity.setShowImgFile(ip+goodsEntity.getShowImgFile());
|
||||
goodsEntity.setPicture(ip+goodsEntity.getPicture());
|
||||
}
|
||||
return goodsList;
|
||||
|
Loading…
Reference in New Issue
Block a user