nft 合作
This commit is contained in:
parent
8218871fd8
commit
efa0f668d6
@ -268,3 +268,9 @@ export const apiClaimNft = async (contract) => {
|
|||||||
const url = `${API_BASE}/api/partner/claim`;
|
const url = `${API_BASE}/api/partner/claim`;
|
||||||
return httpPost(url, {contract})
|
return httpPost(url, {contract})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 宝箱激活码
|
||||||
|
export const apiVoucherClaim = async (id) => {
|
||||||
|
const url = `${API_BASE}/api/voucher/claim`;
|
||||||
|
return httpPost(url, {id})
|
||||||
|
}
|
||||||
|
@ -1359,10 +1359,23 @@ export default {
|
|||||||
|
|
||||||
// 提交nft合作邀请码
|
// 提交nft合作邀请码
|
||||||
submitCode() {
|
submitCode() {
|
||||||
|
// "testoVC6BT0f"
|
||||||
|
// 1
|
||||||
|
// :
|
||||||
|
// "testZ5bxiJNF"
|
||||||
|
// 2
|
||||||
|
// :
|
||||||
|
// "testCFLg58et"
|
||||||
|
// 3
|
||||||
|
// :
|
||||||
|
// "testjVmKtkEN"
|
||||||
|
// 4
|
||||||
|
// :
|
||||||
|
// "testZuX1lyLj"
|
||||||
if (this.token) {
|
if (this.token) {
|
||||||
console.log(this.checkCodeInput);
|
console.log(this.checkCodeInput);
|
||||||
if (this.checkCodeInput) {
|
if (this.checkCodeInput) {
|
||||||
// Todo
|
|
||||||
} else {
|
} else {
|
||||||
alert("不能为空");
|
alert("不能为空");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user