flat:暂存

This commit is contained in:
史典卓
2025-08-05 18:28:07 +08:00
parent e698f0624f
commit 1cd5363723
7 changed files with 1406 additions and 1144 deletions

View File

@@ -86,6 +86,10 @@ async function DoAjax(options, config = {}) {
if (baseUrl) {
options.url = baseUrl + options.url
}
// 馆陶替换url
if (options.url.startsWith('/api')) {
options.url = options.url.replace(/^\/api/, '/api/gt');
}
options = Object.assign({}, options, {
header
});