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