cainiao-hue 3 сар өмнө
parent
commit
162ee1f19e

+ 1 - 6
docs-prod/schema.md

@@ -31,10 +31,6 @@ class ChatRecord {
     + user: Pointer<User> 
     + chatpartner: Pointer<ChatPartner> 
 }
-class ChatReport {
-    + objectId: String
-    - report: String
-}
 class ChatEvaluate{
     + objectId:String
     + avater:String
@@ -79,8 +75,7 @@ _User "1" -- "0..*" Bottle
 _User "*" --> "*" ChatEvaluate
 _User "1" --> "*" ChatRecord     
 ChatPartner "1" --> "*" ChatRecord 
-ChatCompanion "1" --> "*" ChatRecord 
-ChatRecord "1" --> "1" ChatReport      
+ChatCompanion "1" --> "*" ChatRecord      
 @enduml
 ```
 

+ 3 - 4
soul-app/src/app/my-drift-bottle/my-drift-bottle.component.ts

@@ -3,7 +3,7 @@ import { Router } from '@angular/router';
 import { CommonModule } from '@angular/common'; // 导入 CommonModule
 
 import { IonHeader, IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList, 
-  IonListHeader, IonCardHeader, IonCardTitle, IonCardContent, IonTitle, IonCard, IonToolbar, IonInput, IonSearchbar } from '@ionic/angular/standalone';
+  IonCardHeader, IonCardTitle, IonCardContent, IonTitle, IonCard, IonToolbar} from '@ionic/angular/standalone';
 import { CloudQuery, CloudObject, CloudUser } from 'src/lib/ncloud';
 import { UserService } from 'src/app/user.service'; // 假设这是你的用户服务
 
@@ -16,9 +16,8 @@ import { UserService } from 'src/app/user.service'; // 假设这是你的用户
     CommonModule, // 添加 CommonModule
     
     IonHeader, IonToolbar, IonTitle, IonContent,
-    IonList, IonListHeader, IonItem, IonCardTitle,
-    IonLabel, IonIcon, IonButton, IonCardContent,
-    IonInput, IonSearchbar, IonCard, IonCardHeader,
+    IonList,  IonItem, IonCardTitle,
+    IonLabel, IonIcon, IonButton, IonCardContent, IonCard, IonCardHeader,
   ]
 })
 export class MyDriftBottleComponent implements OnInit {

+ 2 - 5
soul-app/src/app/page-setting/page-setting.component.ts

@@ -1,7 +1,6 @@
 import { Component, OnInit } from '@angular/core';
 import { Router } from '@angular/router';
-import { IonHeader, IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList, 
-  IonListHeader, IonCardHeader, IonCardTitle, IonCardContent, IonTitle, IonCard, IonToolbar, IonInput, IonSearchbar } from '@ionic/angular/standalone';
+import { IonHeader, IonButton, IonContent, IonIcon,  IonTitle,  IonToolbar } from '@ionic/angular/standalone';
 
 @Component({
   selector: 'app-page-setting',
@@ -10,9 +9,7 @@ import { IonHeader, IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList,
   standalone: true,
   imports: [
     IonHeader, IonToolbar, IonTitle, IonContent,
-    IonList, IonListHeader, IonItem, IonCardTitle,
-    IonLabel, IonIcon, IonButton, IonCardContent,
-    IonInput, IonSearchbar, IonCard, IonCardHeader,
+     IonIcon, IonButton
   ]
 })
 export class PageSettingComponent implements OnInit {

+ 2 - 6
soul-app/src/app/page-updating/page-updating.component.ts

@@ -1,7 +1,6 @@
 import { Component, OnInit } from '@angular/core';
 import { Location } from '@angular/common';
-import { IonHeader, IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList, 
-  IonListHeader, IonCardHeader, IonCardTitle, IonCardContent, IonTitle, IonCard, IonToolbar, IonInput, IonSearchbar } from '@ionic/angular/standalone';
+import { IonHeader, IonButton, IonContent, IonIcon, IonTitle,  IonToolbar } from '@ionic/angular/standalone';
 
 @Component({
   selector: 'app-page-updating',
@@ -9,10 +8,7 @@ import { IonHeader, IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList,
   styleUrls: ['./page-updating.component.scss'],
   standalone: true,
     imports: [
-      IonHeader, IonToolbar, IonTitle, IonContent,
-      IonList, IonListHeader, IonItem, IonCardTitle,
-      IonLabel, IonIcon, IonButton, IonCardContent,
-      IonInput, IonSearchbar, IonCard, IonCardHeader,
+      IonHeader, IonToolbar, IonTitle, IonContent,IonIcon, IonButton
     ]
 })
 export class PageUpdatingComponent implements OnInit {

+ 1 - 3
soul-app/src/app/throw-drift-bottle/throw-drift-bottle.component.ts

@@ -1,5 +1,5 @@
 import { Component, OnInit } from '@angular/core';
-import { ModalController, ToastController, IonInput, IonItem, IonLabel, IonButton, IonCard, IonCardHeader, IonCardTitle, IonCardSubtitle, IonCardContent } from '@ionic/angular/standalone';
+import { ModalController, ToastController, IonInput, IonItem,  IonButton, IonCard, IonCardHeader, IonCardTitle,  IonCardContent } from '@ionic/angular/standalone';
 import { CloudObject } from 'src/lib/ncloud';
 import { FormsModule } from '@angular/forms'; // 导入 FormsModule
 import { CommonModule } from '@angular/common';
@@ -14,12 +14,10 @@ import { UserService } from 'src/app/user.service'; // 假设这是你的用户
     IonCard,
     IonCardHeader,
     IonCardTitle,
-    IonCardSubtitle,
     IonCardContent,
     IonButton,
     IonInput,
     IonItem,
-    IonLabel,
     FormsModule,
     CommonModule
   ],