|
@@ -73,7 +73,7 @@ class OrderService extends CrudService {
|
|
|
obj.shop = { _id: shopData.shop, name: shopData.shop_name };
|
|
|
if (!_.get(shopData, 'name')) {
|
|
|
const d = await this.shopModel.findById(shopData.shop, { name: 1 }).lean();
|
|
|
- shopData.name = d.name;
|
|
|
+ obj.shop.name = d.name;
|
|
|
}
|
|
|
const specs = [];
|
|
|
for (const shop of goods) {
|