mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-16 23:53:48 +08:00
debugger
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user