-
+
+
+
-
-
Why Using Figma ?
-
10 mins
+
+ {{iteml.title}}
+ {{iteml.description}}
+
-
-
-
-
-
-
-
- Section 2 - Figma Basic
-
-
-
-
-
-
-
-
-
-
Why Using Figma ?
-
10 mins
+
+
-
-
-
-
-
-
- Section 3 - Let's Practice
-
-
-
-
-
-
-
-
-
- Why Using Figma ?
- 10 mins
-
-
-
-
-
diff --git a/src/app/pages-family/playground/playground.page.ts b/src/app/pages-family/playground/playground.page.ts
index 256932f..c82af56 100644
--- a/src/app/pages-family/playground/playground.page.ts
+++ b/src/app/pages-family/playground/playground.page.ts
@@ -1,6 +1,9 @@
import { Component, OnInit } from '@angular/core';
-import {NavController} from "@ionic/angular";
+import {AlertController, NavController} from "@ionic/angular";
import {Router} from "@angular/router";
+import {SessionDataProviderService} from "../../store/session-data-provider.service";
+import {WrenchService} from "../../services/wrench.service";
+import {BlogDataService} from "../../store/blog-data.service";
@Component({
selector: 'app-playground',
@@ -14,22 +17,47 @@ export class PlaygroundPage implements OnInit {
constructor(
private navctr: NavController,
- private router: Router
+ private router: Router,
+ public sessionDataProviderService: SessionDataProviderService,
+ private alertController:AlertController,
+ private wrenchService: WrenchService,
+ public blogDataService: BlogDataService
) { }
ngOnInit() {
+ this.paygroundData();
}
onBack() {
this.navctr.back();
}
- onMentor() {
- this.router.navigate(['mentor']);
- }
+ usrData: {
+ action:number, member_id: number, uid: string,
+ sessionid: string,
+ 'limit': 30,
+ 'offset': 0
+ };
+
+ playListTotalData:any;
+ playListData: [];
+ paygroundData(){
+
+
+ this.usrData = {action:11201, member_id: this.sessionDataProviderService.member_id, uid: this.sessionDataProviderService.member_uid,
+ sessionid: this.sessionDataProviderService.session,'limit': 30,
+ 'offset': 0 }
+
+ this.wrenchService.getMyPlayground(this.usrData).subscribe(
+ playListTotalData => {
+ this.playListTotalData = playListTotalData;
+ //debugger;
+ // console.log("REFER RETURN->", this.referTotalData);
+ this.playListData = this.playListTotalData.result_list;
+ console.log("playListTotalData RETURN DATA->", this.playListData);
+ }
+ );
- onEnroll() {
- this.router.navigate(['enroll']);
}
diff --git a/src/app/services/wrench.service.ts b/src/app/services/wrench.service.ts
index 739a1d5..9063bf5 100644
--- a/src/app/services/wrench.service.ts
+++ b/src/app/services/wrench.service.ts
@@ -86,7 +86,11 @@ export class WrenchService {
return this.getPostData('mynotifications',usrData);
}
- loginUser(loginData) {
+ getMyPlayground(usrData) {
+ return this.getPostData('playground',usrData);
+ }
+
+ loginUser(loginData) {
return this.getPostData('userlogin',loginData);
}