账单支持峰谷

This commit is contained in:
2025-04-27 08:59:56 +08:00
parent 34995ef9a3
commit 3e9857bdcd
10 changed files with 315 additions and 54 deletions

View File

@@ -45,10 +45,10 @@ export function getConfigByEnv() {
switch (envVersion) {
// 开发版
case 'develop':
api = "http://localhost:8000"
// api = "http://localhost:8000"
// api = "https://zgd.hbhcbn.com/api3"
// api = "https://zgd.hbhcbn.com/api3"
// api = "https://zgd.hbhcbn.com/wxApi"
api = "https://zgd.hbhcbn.com/wxApi"
// api = "http://127.0.0.1:4523/m1/4143821-0-default"
break;
// 体验版
@@ -249,4 +249,8 @@ export function getFileName(path) {
export function replaceSpecialIcon(str) {
return str.replace(/#/g, escape("#"))
}
}
export function getRoundNumber(number) {
return (Math.round(number * 100) / 100).toFixed(2)
}