ソースを参照

feat: 区分白标注册用户

max 7 ヶ月 前
コミット
560708fab9
1 ファイル変更2 行追加1 行削除
  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({
     const merchant = await this.merchantEntity.findOne({
       where: {
       where: {
-        id: Number(order.merchantId),
+        // id: Number(order.merchantId),
+        mchId: order.merchantId
       },
       },
     });
     });
     const rate = await this.rateEntity.findOne({
     const rate = await this.rateEntity.findOne({