Ver código fonte

feat: ratio-star

娱乐之上 4 meses atrás
pai
commit
59a94fc2fa

+ 1 - 1
package-lock.json

@@ -36,7 +36,7 @@
         "@angular-eslint/eslint-plugin-template": "^18.0.0",
         "@angular-eslint/schematics": "^18.0.0",
         "@angular-eslint/template-parser": "^18.0.0",
-        "@angular/cli": "^18.0.0",
+        "@angular/cli": "18.0.7",
         "@angular/compiler-cli": "^18.0.0",
         "@angular/language-service": "^18.0.0",
         "@capacitor/cli": "6.1.0",

+ 1 - 1
package.json

@@ -41,7 +41,7 @@
     "@angular-eslint/eslint-plugin-template": "^18.0.0",
     "@angular-eslint/schematics": "^18.0.0",
     "@angular-eslint/template-parser": "^18.0.0",
-    "@angular/cli": "^18.0.0",
+    "@angular/cli": "18.0.7",
     "@angular/compiler-cli": "^18.0.0",
     "@angular/language-service": "^18.0.0",
     "@capacitor/cli": "6.1.0",

+ 2 - 1
src/modules/feiwu/book/book.page.ts

@@ -3,6 +3,7 @@ import { ModalController, NavController } from '@ionic/angular';
 import { FilmDetailsModalComponent } from '../film-details-modal/film-details-modal.component';
 import { BookService } from 'src/modules/server/book.serve';
 import { ActivatedRoute } from '@angular/router';
+import Parse from 'parse';
 
 @Component({
   selector: 'app-book',
@@ -52,7 +53,7 @@ export class BookPage implements OnInit {
     film.save()
   }
   async checkExists(film:Parse.Object){
-    let query = new Parse.Query("FilmRating");
+    let query = new Parse.Query("LQLBookRating");
     query.equalTo("user",Parse.User.current()?.toPointer())
     query.equalTo("book",film?.toPointer())
     return await query.first()

+ 1 - 0
src/modules/feiwu/game/game.page.ts

@@ -3,6 +3,7 @@ import { ModalController, NavController } from '@ionic/angular';
 import { FilmDetailsModalComponent } from '../film-details-modal/film-details-modal.component';
 import { GameService } from 'src/modules/server/game.serve';
 import { ActivatedRoute } from '@angular/router';
+import Parse from 'parse';
 
 @Component({
   selector: 'app-game',

+ 2 - 0
src/modules/feiwu/music/music.page.ts

@@ -3,6 +3,8 @@ import { ModalController, NavController } from '@ionic/angular';
 import { FilmDetailsModalComponent } from '../film-details-modal/film-details-modal.component';
 import { MusicService } from 'src/modules/server/music.serve';
 import { ActivatedRoute } from '@angular/router';
+import Parse from 'parse';
+
 @Component({
   selector: 'app-music',
   templateUrl: './music.page.html',

+ 1 - 0
src/modules/feiwu/outdoor/outdoor.page.ts

@@ -3,6 +3,7 @@ import { ModalController, NavController } from '@ionic/angular';
 import { FilmDetailsModalComponent } from '../film-details-modal/film-details-modal.component';
 import { OutdoorService } from 'src/modules/server/outdoor.serve';
 import { ActivatedRoute } from '@angular/router';
+import Parse from 'parse';
 
 @Component({
   selector: 'app-outdoor',