# iServiceSignature
-获取iService签名,去生成token
# 调用方式
iServiceSignature(timestamp)
1
返回 Promise,使用 then/catch 或 await 处理结果。
# 请求参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| timestamp | String | Y | — | 用于生成签名的时间戳;示例值不是默认值 |
# 接口调用示例
this.$bridge.iServiceSignature(String(Date.now()))
.then(res => {
console.log(res)
})
.catch(error => {
console.error(error)
})
1
2
3
4
5
6
7
2
3
4
5
6
7
# 返回参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
| signature | String | Y | — |