开始做充值,,调整了首页

This commit is contained in:
2024-04-02 17:32:28 +08:00
parent 3284bea475
commit db6d253898
44 changed files with 676 additions and 141 deletions

View File

@@ -43,8 +43,8 @@ export function getConfigByEnv() {
switch (envVersion) {
// 开发版
case 'develop':
api = "http://localhost:8000"
// api = "http://127.0.0.1:4523/m1/4143821-0-default"
// api = "http://localhost:8000"
api = "http://127.0.0.1:4523/m1/4143821-0-default"
break;
// 体验版
case 'trial':
@@ -52,6 +52,7 @@ export function getConfigByEnv() {
break;
// 正式版
case 'release':
api = "https://zgd.hbhcbn.com/wxApi"
break;
}
return { api, }
@@ -105,9 +106,9 @@ export function showModal({
export function getYears() {
const years = [];
const currentYear = new Date().getFullYear();
const minYear = 2023;
const minYear = 2024;
for(let i = currentYear; i >= minYear; i--) {
years.push(i);
years.push({name: i, id: i});
}
return years;
}