开始做充值,,调整了首页
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user