This commit is contained in:
2026-01-22 11:29:09 +08:00
parent 4354dec998
commit 8d14be6386
2 changed files with 2 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ const request = (params) => {
// 'Content-Type': 'application/x-www-form-urlencoded', // 'Content-Type': 'application/x-www-form-urlencoded',
'Terminal-Type': 'innerH5', 'Terminal-Type': 'innerH5',
'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'application/json;charset=UTF-8',
'Accept-Language': uni.getLocale()
} }
let header = {} let header = {}
method = method.toUpperCase() method = method.toUpperCase()

View File

@@ -23,6 +23,7 @@ const request1 = (params) => {
// 'Content-Type': 'application/x-www-form-urlencoded', // 'Content-Type': 'application/x-www-form-urlencoded',
'Terminal-Type': 'innerH5', 'Terminal-Type': 'innerH5',
'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'application/json;charset=UTF-8',
'Accept-Language': uni.getLocale()
} }
let header = {} let header = {}
method = method.toUpperCase() method = method.toUpperCase()