...
|
...
|
@@ -110,6 +110,7 @@ exports.stuProducts = (data) => { |
|
|
|
|
|
_.forEach(data, (value, key) => {
|
|
|
delete data[key].discount;
|
|
|
data[key].marketPrice = data[key].salesPrice;
|
|
|
delete data[key].salesPrice;
|
|
|
if (value.studentPrice) {
|
|
|
Object.assign(data[key], {forStu: true});
|
...
|
...
|
|