修改页面推荐语

This commit is contained in:
2026-05-20 14:50:21 +08:00
parent 9c9f127df6
commit 0d6813c501
93 changed files with 297 additions and 4 deletions
@@ -8398,8 +8398,16 @@ public class ProductService {
}
public List<Product> chucklePrice(String role, List<Product> list) {
//
List<String> roleList = Arrays.asList("1045", "1061", "1029", "1054", "1053");
boolean isIn = false;
for (String s : roleList) {
if (role.indexOf(s) > -1) {
isIn = true;
}
}
//淘系的价格全部按照目前的价格乘以1.15
if (role.indexOf("1045") == -1 && role.indexOf("1061") == -1) {
if (!isIn) {
for (Product product : list) {
product.setPrice(Math.ceil(product.getPrice() * 1.15));
}