mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
gfdgfdgfd gfd
This commit is contained in:
@@ -27,6 +27,9 @@
|
|||||||
import HeaderMobileComponent from "@/components/adaptive-components/HeaderMobileComponent.vue";
|
import HeaderMobileComponent from "@/components/adaptive-components/HeaderMobileComponent.vue";
|
||||||
import MenuMobileComponent from "@/components/adaptive-components/MenuMobileComponent.vue";
|
import MenuMobileComponent from "@/components/adaptive-components/MenuMobileComponent.vue";
|
||||||
import PaymentsMobile from "@/components/adaptive-components/PaymentsMobile.vue";
|
import PaymentsMobile from "@/components/adaptive-components/PaymentsMobile.vue";
|
||||||
|
import {GetUserData } from "@/assets/js/games/saper/SaperAPI";
|
||||||
|
import { GetCookie } from "@/assets/js/storage/CookieStorage";
|
||||||
|
|
||||||
|
|
||||||
import '@/assets/css/PagesStyles/adaptive-pages/profilemobile.css'
|
import '@/assets/css/PagesStyles/adaptive-pages/profilemobile.css'
|
||||||
|
|
||||||
@@ -40,6 +43,30 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
// const AUTHTOKEN = GetCookie('AUTHTOKEN')
|
||||||
|
// const SEARCHTOKEN = GetCookie('SearchToken')
|
||||||
|
|
||||||
|
|
||||||
|
GetUserData(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
||||||
|
.then(response => {
|
||||||
|
console.log(response)
|
||||||
|
})
|
||||||
|
.catch((error) => {
|
||||||
|
console.error(error);
|
||||||
|
});
|
||||||
|
|
||||||
|
// GetCurrentMoney(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
||||||
|
// .then((response) => {
|
||||||
|
// this.balance = response.currentMoney;
|
||||||
|
// console.log(response);
|
||||||
|
// })
|
||||||
|
// .catch((error) => {
|
||||||
|
// console.error(error);
|
||||||
|
// });
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
paymetsCall(view) {
|
paymetsCall(view) {
|
||||||
this.payments.paymentsWindow = true
|
this.payments.paymentsWindow = true
|
||||||
|
|||||||
@@ -175,29 +175,29 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
// created() {
|
||||||
// const AUTHTOKEN = GetCookie('AUTHTOKEN')
|
// // const AUTHTOKEN = GetCookie('AUTHTOKEN')
|
||||||
// const SEARCHTOKEN = GetCookie('SearchToken')
|
// // const SEARCHTOKEN = GetCookie('SearchToken')
|
||||||
|
|
||||||
|
|
||||||
GetUserData(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
// GetUserData(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
||||||
.then(response => {
|
// .then(response => {
|
||||||
console.log(response)
|
// console.log(response)
|
||||||
})
|
// })
|
||||||
.catch((error) => {
|
// .catch((error) => {
|
||||||
console.error(error);
|
// console.error(error);
|
||||||
});
|
// });
|
||||||
|
|
||||||
// GetCurrentMoney(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
// // GetCurrentMoney(GetCookie("AUTHTOKEN"), GetCookie("SearchToken"))
|
||||||
// .then((response) => {
|
// // .then((response) => {
|
||||||
// this.balance = response.currentMoney;
|
// // this.balance = response.currentMoney;
|
||||||
// console.log(response);
|
// // console.log(response);
|
||||||
// })
|
// // })
|
||||||
// .catch((error) => {
|
// // .catch((error) => {
|
||||||
// console.error(error);
|
// // console.error(error);
|
||||||
// });
|
// // });
|
||||||
|
|
||||||
},
|
// },
|
||||||
watch: {
|
watch: {
|
||||||
async amountDeposit(DiamondCount) {
|
async amountDeposit(DiamondCount) {
|
||||||
if (DiamondCount >= 1) {
|
if (DiamondCount >= 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user