feat: 后端版本迁移修改

This commit is contained in:
Blizzard
2026-05-24 01:38:28 +08:00
parent 058a575e10
commit f8d71ee800
29 changed files with 304 additions and 291 deletions
+3 -3
View File
@@ -132,7 +132,7 @@ class WxRequest {
upload(filePath, name = 'file', formData = {}) {
// Prepare config
let config = {
url: this.baseUrl + '/oss/upload',
url: this.baseUrl + '/file/upload',
header: { ...this.header }, // Copy default headers
filePath: filePath,
name: name,
@@ -320,8 +320,8 @@ class WxRequest {
// Initialize with default instance
const request = new WxRequest({
//baseUrl: 'http://192.168.0.184:8889',
baseUrl: 'https://go.sundynix.cn/api',
baseUrl: 'http://192.168.100.2:8888/api',
//baseUrl: 'https://go.sundynix.cn/api',
header: {
'Content-Type': 'application/json'
}