报错截图或相关BUG
在此处粘贴截图
if (window["tt"].setUserGroup)
window["tt"].setUserGroup({ groupId: "test_group", });
else {
console.log("window.tt.setUserGroup 函数方法为null");
}
代码 window["tt"].setUserGroup 函数为null 日志打印("window.tt.setUserGroup 函数方法为null");
下面方法获取的排行榜数据也是空的
window["tt"].getCloudStorageByRelation({
type: "group",
keyList: [keyId],
extra: {
sortKey: keyId, // 指定的key需要在后台配置过
groupId: "test_group", // 指定要获取的用户所属分组
})
不知道是不是groupId制定错误 但是前面的setUserGroup方法执行不了