12 lines
215 B
JavaScript
12 lines
215 B
JavaScript
import tencent from 'apigo.cc/cloud/tencent'
|
|
import co from 'apigo.cc/gojs/console'
|
|
|
|
try {
|
|
let lao = tencent.cos('lao')
|
|
co.info(JSON.stringify(lao.getToken()))
|
|
} catch (ex) {
|
|
co.error(ex)
|
|
}
|
|
|
|
return true
|