|
@@ -48,7 +48,9 @@ const SECRETKEY = 'd643bc248fd0c49a041ef7551962fe639abfbb9db660dd1c6d7e868f8193f
|
|
* Reference:https://cloud.tencent.com/document/product/647/17275#Server
|
|
* Reference:https://cloud.tencent.com/document/product/647/17275#Server
|
|
*/
|
|
*/
|
|
export function genTestUserSig(userID) {
|
|
export function genTestUserSig(userID) {
|
|
- const generator = new LibGenerateTestUserSig(SDKAPPID, SECRETKEY, EXPIRETIME)
|
|
|
|
|
|
+ // console.log("LibGenerateTestUserSig",LibGenerateTestUserSig.default)
|
|
|
|
+ // console.log("typeof LibGenerateTestUserSig",typeof LibGenerateTestUserSig.default)
|
|
|
|
+ const generator = new LibGenerateTestUserSig.default(SDKAPPID, SECRETKEY, EXPIRETIME)
|
|
const userSig = generator.genTestUserSig(userID)
|
|
const userSig = generator.genTestUserSig(userID)
|
|
|
|
|
|
return {
|
|
return {
|