fix
3
.env.dev
@ -1,4 +1,5 @@
|
||||
VUE_APP_BASE_API='https://market.cebg.games'
|
||||
VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
//VUE_APP_BASE_API2='http://192.168.100.83:3000/'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
LOGIN_API='https://login-test.kingsome.cn'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
|
@ -1,4 +1,6 @@
|
||||
VUE_APP_BASE_API='https://market.cebg.games'
|
||||
VUE_APP_BASE_API2='https://invitation.counterfire.games'
|
||||
//VUE_APP_BASE_API2='http://192.168.100.83:3000/'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
VUE_APP_GPAL_API='https://game2006api.cebggame.com/'
|
||||
|
||||
LOGIN_API='https://login.kingsome.cn'
|
217
package-lock.json
generated
@ -28,7 +28,7 @@
|
||||
"process": "^0.11.10",
|
||||
"rollup-plugin-polyfill-node": "^0.12.0",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"swiper": "8",
|
||||
"swiper": "^10.3.0",
|
||||
"three": "^0.155.0",
|
||||
"util": "^0.12.5",
|
||||
"uuid": "^9.0.0",
|
||||
@ -42,6 +42,7 @@
|
||||
"vue-router": "^4.1.6",
|
||||
"vue3-autocounter": "^1.0.6",
|
||||
"vue3-clipboard": "^1.0.0",
|
||||
"vue3-virtual-scroller": "^0.2.3",
|
||||
"web3": "^1.8.2",
|
||||
"youtube-player": "^5.6.0"
|
||||
},
|
||||
@ -4707,15 +4708,6 @@
|
||||
"resolved": "https://registry.npmmirror.com/dom-walk/-/dom-walk-0.1.2.tgz",
|
||||
"integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w=="
|
||||
},
|
||||
"node_modules/dom7": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmmirror.com/dom7/-/dom7-4.0.6.tgz",
|
||||
"integrity": "sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ssr-window": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/domelementtype": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz",
|
||||
@ -11084,6 +11076,11 @@
|
||||
"compute-scroll-into-view": "^1.0.20"
|
||||
}
|
||||
},
|
||||
"node_modules/scrollparent": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/scrollparent/-/scrollparent-2.1.0.tgz",
|
||||
"integrity": "sha512-bnnvJL28/Rtz/kz2+4wpBjHzWoEzXhVg/TE8BeVGJHUqE8THNIRnDxDWMktwM+qahvlRdvlLdsQfYe+cuqfZeA=="
|
||||
},
|
||||
"node_modules/scrypt-js": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/scrypt-js/-/scrypt-js-3.0.1.tgz",
|
||||
@ -11552,12 +11549,6 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ssr-window": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmmirror.com/ssr-window/-/ssr-window-4.0.2.tgz",
|
||||
"integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/static-extend": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmmirror.com/static-extend/-/static-extend-0.1.2.tgz",
|
||||
@ -11892,25 +11883,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/swiper": {
|
||||
"version": "8.4.7",
|
||||
"resolved": "https://registry.npmmirror.com/swiper/-/swiper-8.4.7.tgz",
|
||||
"integrity": "sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "patreon",
|
||||
"url": "https://www.patreon.com/swiperjs"
|
||||
},
|
||||
{
|
||||
"type": "open_collective",
|
||||
"url": "http://opencollective.com/swiper"
|
||||
}
|
||||
],
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"dom7": "^4.0.4",
|
||||
"ssr-window": "^4.0.2"
|
||||
},
|
||||
"version": "10.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/swiper/-/swiper-10.3.0.tgz",
|
||||
"integrity": "sha512-o81KZH4phL/dJxKFWpZ/zf78QxOyFMood+c86vJJO0ZeSOoniyzV8HWDsw12KOlQdm4WRxrc/6kfGImAcxcS3w==",
|
||||
"engines": {
|
||||
"node": ">= 4.7.0"
|
||||
}
|
||||
@ -13492,6 +13467,88 @@
|
||||
"vue": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-observe-visibility2": {
|
||||
"version": "0.0.3",
|
||||
"resolved": "https://registry.npmmirror.com/vue3-observe-visibility2/-/vue3-observe-visibility2-0.0.3.tgz",
|
||||
"integrity": "sha512-yJL0G5RrI/uXdDrs+0fdlk/dYKhKBRZtkwJO0ar44NTIX+Rnw63iHgTz+p00M+yp6Avm1Q+o6y82h0hkTzmpHg==",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-resize": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/vue3-resize/-/vue3-resize-0.2.0.tgz",
|
||||
"integrity": "sha512-vZkbEv4PjMEWFV0igAxCvdSIH9hrIJjXyJ9XPTxH0cS/L2/VW1dLVORMWJKU0VXHpHiYKwskB62ju7aBQMVpOQ==",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-virtual-scroller": {
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://registry.npmmirror.com/vue3-virtual-scroller/-/vue3-virtual-scroller-0.2.3.tgz",
|
||||
"integrity": "sha512-iPBi0FocZGxVar46iLYzLMfdTMe/O3X8h1iTc21aPhAaGRyMMAZ64AN7Dn6FA+qYFam5f3wHIUktAnpgCFtNuw==",
|
||||
"dependencies": {
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"scrollparent": "^2.0.1",
|
||||
"vue3-observe-visibility2": "^0.0.3",
|
||||
"vue3-resize": "^0.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-virtual-scroller/node_modules/@rollup/plugin-json": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz",
|
||||
"integrity": "sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==",
|
||||
"dependencies": {
|
||||
"@rollup/pluginutils": "^3.0.8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"rollup": "^1.20.0 || ^2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-virtual-scroller/node_modules/@rollup/pluginutils": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz",
|
||||
"integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==",
|
||||
"dependencies": {
|
||||
"@types/estree": "0.0.39",
|
||||
"estree-walker": "^1.0.1",
|
||||
"picomatch": "^2.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"rollup": "^1.20.0||^2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/vue3-virtual-scroller/node_modules/@types/estree": {
|
||||
"version": "0.0.39",
|
||||
"resolved": "https://registry.npmmirror.com/@types/estree/-/estree-0.0.39.tgz",
|
||||
"integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="
|
||||
},
|
||||
"node_modules/vue3-virtual-scroller/node_modules/estree-walker": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-1.0.1.tgz",
|
||||
"integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg=="
|
||||
},
|
||||
"node_modules/vue3-virtual-scroller/node_modules/rollup": {
|
||||
"version": "2.79.1",
|
||||
"resolved": "https://registry.npmmirror.com/rollup/-/rollup-2.79.1.tgz",
|
||||
"integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"rollup": "dist/bin/rollup"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/w3c-xmlserializer": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz",
|
||||
@ -17821,14 +17878,6 @@
|
||||
"resolved": "https://registry.npmmirror.com/dom-walk/-/dom-walk-0.1.2.tgz",
|
||||
"integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w=="
|
||||
},
|
||||
"dom7": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmmirror.com/dom7/-/dom7-4.0.6.tgz",
|
||||
"integrity": "sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==",
|
||||
"requires": {
|
||||
"ssr-window": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"domelementtype": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz",
|
||||
@ -22486,6 +22535,11 @@
|
||||
"compute-scroll-into-view": "^1.0.20"
|
||||
}
|
||||
},
|
||||
"scrollparent": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/scrollparent/-/scrollparent-2.1.0.tgz",
|
||||
"integrity": "sha512-bnnvJL28/Rtz/kz2+4wpBjHzWoEzXhVg/TE8BeVGJHUqE8THNIRnDxDWMktwM+qahvlRdvlLdsQfYe+cuqfZeA=="
|
||||
},
|
||||
"scrypt-js": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/scrypt-js/-/scrypt-js-3.0.1.tgz",
|
||||
@ -22826,11 +22880,6 @@
|
||||
"tweetnacl": "~0.14.0"
|
||||
}
|
||||
},
|
||||
"ssr-window": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmmirror.com/ssr-window/-/ssr-window-4.0.2.tgz",
|
||||
"integrity": "sha512-ISv/Ch+ig7SOtw7G2+qkwfVASzazUnvlDTwypdLoPoySv+6MqlOV10VwPSE6EWkGjhW50lUmghPmpYZXMu/+AQ=="
|
||||
},
|
||||
"static-extend": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmmirror.com/static-extend/-/static-extend-0.1.2.tgz",
|
||||
@ -23079,13 +23128,9 @@
|
||||
}
|
||||
},
|
||||
"swiper": {
|
||||
"version": "8.4.7",
|
||||
"resolved": "https://registry.npmmirror.com/swiper/-/swiper-8.4.7.tgz",
|
||||
"integrity": "sha512-VwO/KU3i9IV2Sf+W2NqyzwWob4yX9Qdedq6vBtS0rFqJ6Fa5iLUJwxQkuD4I38w0WDJwmFl8ojkdcRFPHWD+2g==",
|
||||
"requires": {
|
||||
"dom7": "^4.0.4",
|
||||
"ssr-window": "^4.0.2"
|
||||
}
|
||||
"version": "10.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/swiper/-/swiper-10.3.0.tgz",
|
||||
"integrity": "sha512-o81KZH4phL/dJxKFWpZ/zf78QxOyFMood+c86vJJO0ZeSOoniyzV8HWDsw12KOlQdm4WRxrc/6kfGImAcxcS3w=="
|
||||
},
|
||||
"symbol-tree": {
|
||||
"version": "3.2.4",
|
||||
@ -24203,6 +24248,68 @@
|
||||
"clipboard": "^2.0.6"
|
||||
}
|
||||
},
|
||||
"vue3-observe-visibility2": {
|
||||
"version": "0.0.3",
|
||||
"resolved": "https://registry.npmmirror.com/vue3-observe-visibility2/-/vue3-observe-visibility2-0.0.3.tgz",
|
||||
"integrity": "sha512-yJL0G5RrI/uXdDrs+0fdlk/dYKhKBRZtkwJO0ar44NTIX+Rnw63iHgTz+p00M+yp6Avm1Q+o6y82h0hkTzmpHg==",
|
||||
"requires": {}
|
||||
},
|
||||
"vue3-resize": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/vue3-resize/-/vue3-resize-0.2.0.tgz",
|
||||
"integrity": "sha512-vZkbEv4PjMEWFV0igAxCvdSIH9hrIJjXyJ9XPTxH0cS/L2/VW1dLVORMWJKU0VXHpHiYKwskB62ju7aBQMVpOQ==",
|
||||
"requires": {}
|
||||
},
|
||||
"vue3-virtual-scroller": {
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://registry.npmmirror.com/vue3-virtual-scroller/-/vue3-virtual-scroller-0.2.3.tgz",
|
||||
"integrity": "sha512-iPBi0FocZGxVar46iLYzLMfdTMe/O3X8h1iTc21aPhAaGRyMMAZ64AN7Dn6FA+qYFam5f3wHIUktAnpgCFtNuw==",
|
||||
"requires": {
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"scrollparent": "^2.0.1",
|
||||
"vue3-observe-visibility2": "^0.0.3",
|
||||
"vue3-resize": "^0.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@rollup/plugin-json": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz",
|
||||
"integrity": "sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==",
|
||||
"requires": {
|
||||
"@rollup/pluginutils": "^3.0.8"
|
||||
}
|
||||
},
|
||||
"@rollup/pluginutils": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz",
|
||||
"integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==",
|
||||
"requires": {
|
||||
"@types/estree": "0.0.39",
|
||||
"estree-walker": "^1.0.1",
|
||||
"picomatch": "^2.2.2"
|
||||
}
|
||||
},
|
||||
"@types/estree": {
|
||||
"version": "0.0.39",
|
||||
"resolved": "https://registry.npmmirror.com/@types/estree/-/estree-0.0.39.tgz",
|
||||
"integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw=="
|
||||
},
|
||||
"estree-walker": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-1.0.1.tgz",
|
||||
"integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg=="
|
||||
},
|
||||
"rollup": {
|
||||
"version": "2.79.1",
|
||||
"resolved": "https://registry.npmmirror.com/rollup/-/rollup-2.79.1.tgz",
|
||||
"integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==",
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"w3c-xmlserializer": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz",
|
||||
|
@ -29,7 +29,7 @@
|
||||
"process": "^0.11.10",
|
||||
"rollup-plugin-polyfill-node": "^0.12.0",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"swiper": "8",
|
||||
"swiper": "^10.3.0",
|
||||
"three": "^0.155.0",
|
||||
"util": "^0.12.5",
|
||||
"uuid": "^9.0.0",
|
||||
@ -43,6 +43,7 @@
|
||||
"vue-router": "^4.1.6",
|
||||
"vue3-autocounter": "^1.0.6",
|
||||
"vue3-clipboard": "^1.0.0",
|
||||
"vue3-virtual-scroller": "^0.2.3",
|
||||
"web3": "^1.8.2",
|
||||
"youtube-player": "^5.6.0"
|
||||
},
|
||||
|
197
src/api/User.js
@ -1,92 +1,93 @@
|
||||
import request from '@/utils/request'
|
||||
import request2 from '@/utils/requestduplicate'
|
||||
|
||||
import request from "@/utils/request";
|
||||
import request2 from "@/utils/requestduplicate";
|
||||
import request3 from "@/utils/request3";
|
||||
import request4 from "@/utils/request4";
|
||||
|
||||
const GPAL_URL = import.meta.env.VUE_APP_GPAL_API;
|
||||
|
||||
export const defaultUser = {
|
||||
id: '',
|
||||
username: '',
|
||||
showname: '',
|
||||
comment: '',
|
||||
export const defaultUser = {
|
||||
id: "",
|
||||
username: "",
|
||||
showname: "",
|
||||
comment: "",
|
||||
locked: false,
|
||||
password: '',
|
||||
avatar: '',
|
||||
account: ''
|
||||
}
|
||||
password: "",
|
||||
avatar: "",
|
||||
account: "",
|
||||
};
|
||||
/**
|
||||
* @param data {account: string, token: string}
|
||||
*/
|
||||
export const getUserInfo = (data) =>
|
||||
request({
|
||||
url: '/webapp/index.php?c=BcUser&a=info',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
url: "/webapp/index.php?c=BcUser&a=info",
|
||||
method: "get",
|
||||
params: data,
|
||||
});
|
||||
|
||||
export const login = (data) =>
|
||||
request({
|
||||
url: '/webapp/index.php?c=Market&a=auth',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
url: "/webapp/index.php?c=Market&a=auth",
|
||||
method: "get",
|
||||
params: data,
|
||||
});
|
||||
|
||||
export const logout = () =>
|
||||
request({
|
||||
url: '/api/user/logout',
|
||||
method: 'post'
|
||||
})
|
||||
url: "/api/user/logout",
|
||||
method: "post",
|
||||
});
|
||||
|
||||
export const beginclaim = (data) => {
|
||||
return request2({
|
||||
url: '/aa2/beginClaim',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export const Claim=(data)=>{
|
||||
return request2({
|
||||
url: '/aa2/claim',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export const UserStatus=(data)=>{
|
||||
return request2({
|
||||
url: '/aa2/user_status',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export const getLeaderboard=(data)=>{
|
||||
return request2({
|
||||
url: '/aa2/leaderboard',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export const UserInfo=(data)=>{
|
||||
return request2({
|
||||
url: '/aa2/user_info',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export const totalClaimed=(data)=>{
|
||||
return request2({
|
||||
url: '/aa2/totalClaimed',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
export const getJoin=(data)=>{
|
||||
export const beginclaim = (data) => {
|
||||
return request2({
|
||||
url: '/aa2/join',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
url: "/aa2/beginClaim",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
export const Claim = (data) => {
|
||||
return request2({
|
||||
url: "/aa2/claim",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const UserStatus = (data) => {
|
||||
return request2({
|
||||
url: "/aa2/user_status",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const getLeaderboard = (data) => {
|
||||
return request2({
|
||||
url: "/aa2/leaderboard",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const UserInfo = (data) => {
|
||||
return request2({
|
||||
url: "/aa2/user_info",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const totalClaimed = (data) => {
|
||||
return request2({
|
||||
url: "/aa2/totalClaimed",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
export const getJoin = (data) => {
|
||||
return request2({
|
||||
url: "/aa2/join",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
//
|
||||
// export const changePass = (params: any) =>
|
||||
// request({
|
||||
@ -96,16 +97,48 @@ export const logout = () =>
|
||||
// })
|
||||
|
||||
export const getOutAppPlanet = (params) =>
|
||||
|
||||
request2({
|
||||
url: '/webapp/index.php?c=OutAppPlanet&a=buy',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
url: "/webapp/index.php?c=OutAppPlanet&a=buy",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
export const getNonce = (params) =>
|
||||
|
||||
request({
|
||||
url: '/webapp/index.php?c=Market&a=getNonce',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
url: "/webapp/index.php?c=Market&a=getNonce",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
|
||||
export const getlogin = (params) =>
|
||||
request3({
|
||||
url: "/webapp/index.php?c=Login&a=auth",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
|
||||
export const getNftListByType = (params) =>
|
||||
request4({
|
||||
url: "/webapp/index.php?c=Nft&a=getNftListByType",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
export const getComputingPower = (params) =>
|
||||
request4({
|
||||
url: "/webapp/index.php?c=ComputingPower&a=info",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
|
||||
export const getStaking = (params) =>
|
||||
request4({
|
||||
url: "/webapp/index.php?c=Staking&a=info",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
|
||||
export const getCecRewardHistory = (params) =>
|
||||
request4({
|
||||
url: "/webapp/index.php?c=Other&a=getCecRewardHistory",
|
||||
method: "get",
|
||||
params: params,
|
||||
});
|
||||
|
BIN
src/assets/img/stake/wallet-slices/badge/1.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
src/assets/img/stake/wallet-slices/badge/2.png
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
src/assets/img/stake/wallet-slices/badge/3.png
Normal file
After Width: | Height: | Size: 74 KiB |
BIN
src/assets/img/stake/wallet-slices/gacha/240001.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Aoi.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Astral.png
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Canoe.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Dragonscale.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Hill.png
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Kurosawa.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Lazar.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Mariana.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Miffy.png
Normal file
After Width: | Height: | Size: 107 KiB |
BIN
src/assets/img/stake/wallet-slices/hero/web_img_Yamada.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280001.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280002.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280003.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280004.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280005.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280006.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280007.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280008.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280009.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280010.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280011.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280012.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280013.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280014.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280015.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280016.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280017.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280018.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280019.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280020.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280021.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280022.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280023.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280024.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280025.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280026.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280027.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280028.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280029.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280030.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280031.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280032.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280033.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280034.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280035.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280036.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280037.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280038.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280039.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280040.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280041.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280042.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280043.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280044.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280045.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280046.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280047.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280048.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280049.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280050.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280051.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280052.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280053.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280054.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280055.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280056.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280057.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280058.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280059.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280060.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280061.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280062.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280063.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280064.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280065.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280066.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280067.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280068.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280069.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280070.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280071.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280072.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280073.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280074.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280075.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280076.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280077.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280078.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280079.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280080.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
src/assets/img/stake/wallet-slices/planet/280081.png
Normal file
After Width: | Height: | Size: 24 KiB |