Browse Source

feat: 区分白标注册用户

max 7 months ago
parent
commit
560708fab9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/payment/service/order.ts

+ 2 - 1
src/modules/payment/service/order.ts

@@ -801,7 +801,8 @@ export class OrderService extends BaseService {
     }
     const merchant = await this.merchantEntity.findOne({
       where: {
-        id: Number(order.merchantId),
+        // id: Number(order.merchantId),
+        mchId: order.merchantId
       },
     });
     const rate = await this.rateEntity.findOne({