소스 검색

更新礼物送出问题

warrior 1 개월 전
부모
커밋
7b7bfe4be1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      projects/live-app/src/modules/user/profile/profile.component.ts

+ 1 - 1
projects/live-app/src/modules/user/profile/profile.component.ts

@@ -150,7 +150,7 @@ export class ProfileComponent implements OnInit {
     this.numsObject.fans = res.data[0].fans;
     this.numsObject.follow = res.data[0].follow;
     let res1 = await this.aiChatServ.getGiftLogCount(this.uid);
-    this.numsObject.gift = res1.data[0].gift ?? 0;
+    this.numsObject.gift = res1.data[0].sum ?? 0;
     this.giftList = await this.aiChatServ.getGiftList(this.uid, 16);
     await this.getCommentLeng()
     this.browseLog()