feat: 后端版本迁移修改
This commit is contained in:
+3
-3
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user