flat:暂存
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user