feat(license): add License.vue, header activate button, backend activate-package API; fix axios interceptor to preserve FormData; add licenseAPI helpers

This commit is contained in:
root 2025-11-04 09:11:47 +08:00
parent 69650ee030
commit 0592ddfeea
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"machine_id": "W10-D13710C7BD317C29", "machine_id": "W10-D13710C7BD317C29",
"platform": "Windows", "platform": "Windows",
"request_time": "2025-11-02T03:42:26.592503+00:00", "request_time": "2025-11-04T01:09:01.086984+00:00",
"hardware_info": { "hardware_info": {
"system": "Windows", "system": "Windows",
"machine": "AMD64", "machine": "AMD64",

View File

@ -13,7 +13,7 @@ api.interceptors.request.use(
if (window.electronAPI) { if (window.electronAPI) {
config.baseURL = window.electronAPI.getBackendUrl() config.baseURL = window.electronAPI.getBackendUrl()
} else { } else {
config.baseURL = 'http://localhost:5000' config.baseURL = 'http://192.168.1.58:5000'
} }
// 为需要发送数据的请求设置Content-Type避免覆盖FormData // 为需要发送数据的请求设置Content-Type避免覆盖FormData