language
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user