Authored by 张丽霞

fix bug-vip价格不展示

... ... @@ -84,15 +84,15 @@ exports.getSaleGoodsData = (params) => {
switch (userInfo.curLevel) {
case '1':
finalResult.goods[key].salePrice = value.vip1_price;
finalResult.goods[key].salesPrice = value.vip1Price;
finalResult.goods[key].vip1 = true;
break;
case '2':
finalResult.goods[key].salePrice = value.vip2_price;
finalResult.goods[key].salesPrice = value.vip2Price;
finalResult.goods[key].vip2 = true;
break;
case '3':
finalResult.goods[key].salePrice = value.vip3_price;
finalResult.goods[key].salesPrice = value.vip3Price;
finalResult.goods[key].vip3 = true;
break;
default:
... ... @@ -326,15 +326,15 @@ exports.getSaleOthersData = (params, channel) => {
switch (userInfo.curLevel) {
case '1':
finalResult.goods[key].salePrice = value.vip1_price;
finalResult.goods[key].salesPrice = value.vip1Price;
finalResult.goods[key].vip1 = true;
break;
case '2':
finalResult.goods[key].salePrice = value.vip2_price;
finalResult.goods[key].salesPrice = value.vip2Price;
finalResult.goods[key].vip2 = true;
break;
case '3':
finalResult.goods[key].salePrice = value.vip3_price;
finalResult.goods[key].salesPrice = value.vip3Price;
finalResult.goods[key].vip3 = true;
break;
default:
... ...