|
@@ -294,9 +294,9 @@ public class APIIndexenterController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- for (int i = 0;i<list.size();i++){
|
|
|
- list.get( i ).setPic( host + "/sys/common/static/"+list.get( i ).getPic() );
|
|
|
- }
|
|
|
+ //for (int i = 0;i<list.size();i++){
|
|
|
+ // list.get( i ).setPic( host + "/sys/common/static/"+list.get( i ).getPic() );
|
|
|
+ //}
|
|
|
result.setMessage( "获取商品列表成功" );
|
|
|
result.setResult( list );
|
|
|
result.setCode( 200 );
|
|
@@ -316,7 +316,7 @@ public class APIIndexenterController {
|
|
|
Result<AaCommodity> result = new Result<AaCommodity>();
|
|
|
try {
|
|
|
AaCommodity byId = aaCommodityService.getById( aaCommodityDTO.getId() );
|
|
|
- byId.setPic( host + "/sys/common/static/"+byId.getPic() );
|
|
|
+ //byId.setPic( host + "/sys/common/static/"+byId.getPic() );
|
|
|
byId.setVideo( host + "/sys/common/static/"+byId.getVideo() );
|
|
|
result.setMessage( "获取商品详细成功" );
|
|
|
result.setResult( byId );
|