代码提交
This commit is contained in:
parent
c12c5b26fa
commit
b0b0279db5
|
@ -128,19 +128,19 @@ const a = () => {
|
|||
const accessKey = "w2wzi0wefmmo6s735z2el8tfzitya5gj"
|
||||
const secretKey = "db1b5214-02ee-497f-957c-88323b4351bf"
|
||||
const now = Date.now()
|
||||
const params = {
|
||||
name: 'zhangsan',
|
||||
age: 14,
|
||||
addr: '湖南省长沙市'
|
||||
}
|
||||
// const params = {
|
||||
// name: 'zhangsan',
|
||||
// age: 14,
|
||||
// addr: '湖南省长沙市'
|
||||
// }
|
||||
|
||||
const sign = generatedSign(params, now, accessKey, secretKey)
|
||||
// const sign = generatedSign(params, now, accessKey, secretKey)
|
||||
|
||||
const headers = {
|
||||
'Access-Key': accessKey,
|
||||
'Time-Stamp': now,
|
||||
'Sign': sign
|
||||
}
|
||||
// const headers = {
|
||||
// 'Access-Key': accessKey,
|
||||
// 'Time-Stamp': now,
|
||||
// 'Sign': sign
|
||||
// }
|
||||
// axios.get('http://127.0.0.1:8765/open/dataView', {
|
||||
// params,
|
||||
// headers
|
||||
|
|
Loading…
Reference in New Issue