|
@@ -167,7 +167,8 @@ export class CartService extends BaseService<modelType> {
|
|
|
res = await this.offModel.findById(result.street).lean();
|
|
|
} else assert(result.street, '缺少街道信息或社区信息!');
|
|
|
if (res) obj.address = res.address;
|
|
|
- if (!order) obj.status = '4';
|
|
|
+ if (!ShopSetting) obj.status = '4';
|
|
|
+ if (!Collection) obj.status = '8';
|
|
|
obj.s_accounting = ShopSetting.accounting;
|
|
|
obj.s_leader = ShopSetting.leader;
|
|
|
obj.c_accounting = Collection.accounting;
|