使用用户generate使用次数每个只有两次

This commit is contained in:
X1627315083
2024-01-30 13:33:08 +08:00
parent f51465f7a9
commit 958e4958de
18 changed files with 153 additions and 86 deletions

View File

@@ -385,7 +385,8 @@ export default defineComponent({
let text = {
}
if(!isTest && !isModalOne){//判断是否是试用用户
if(!isModalOne){//判断是否是试用用户
// if(!isTest && !isModalOne){//判断是否是试用用户
await new Promise(async (resolve) => {
await Https.axiosPost(Https.httpUrls.getExpiredTime,{}).then((rv: any) => {
if (rv) {
@@ -400,6 +401,7 @@ export default defineComponent({
setTimeout(() => {
let text = {
str:`${this.t('HomeView.jsContent4',{days:days,hours:hours,minutes:minutes})}<a href="https://code-create.com.hk/aida/" target="_blank"><i class="fi fi-br-link-alt"></i></a>`,
title:`${this.t('HomeView.jsContent7')}`,
}
this.affiche(text)
}, 500);
@@ -414,12 +416,12 @@ export default defineComponent({
})
})
}else if(!isModalOne && isTest){
setTimeout(() => {
text = {
str:`${this.t('HomeView.jsContent7')}<br>${this.t('HomeView.jsContent5')}<a href="https://code-create.com.hk/aida/" target="_blank">https://code-create.com.hk/aida/</a>${this.t('HomeView.jsContent6')}`,
}
this.affiche(text)
}, 500);
// setTimeout(() => {
// text = {
// str:`${this.t('HomeView.jsContent7')}<br>${this.t('HomeView.jsContent5')}<a href="https://code-create.com.hk/aida/" target="_blank">https://code-create.com.hk/aida/</a>${this.t('HomeView.jsContent6')}`,
// }
// this.affiche(text)
// }, 500);
}else{