From 50e5cdbaceee71f000341a434620d10a87b582f5 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期六, 15 八月 2026 17:12:59 +0800
Subject: [PATCH] 修改 用户属性表中userId从number到string

---
 src/modules/market/service/coupon/info.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/market/service/coupon/info.ts b/src/modules/market/service/coupon/info.ts
index b163a7e..5646d4a 100644
--- a/src/modules/market/service/coupon/info.ts
+++ b/src/modules/market/service/coupon/info.ts
@@ -56,7 +56,7 @@
    * @param couponId
    * @param userId
    */
-  async receive(couponId: number, userId: number) {
+  async receive(couponId: number, userId: string) {
     // 妫�鏌ヤ紭鎯犲埜
     await this.check(couponId);
     // 妫�鏌ョ敤鎴锋槸鍚﹀凡棰嗗彇
@@ -79,7 +79,7 @@
    * @param userId
    * @param order
    */
-  async checkAndUse(couponId: number, userId: number, order: OrderInfoEntity) {
+  async checkAndUse(couponId: number, userId: string, order: OrderInfoEntity) {
     // 鍒ゆ柇浼樻儬鍒�
     const couponInfo = await this.check(couponId);
     // 鍒ゆ柇鐢ㄦ埛

--
Gitblit v1.9.1