# Function: storagesOfFriends

storagesOfFriends(params: storagesOfFriendsParams): Promise‹interactionData.storagesOfFriendsResponse›

获取好友是否可赠送互动道具,附带普通型托管数据

example

// 在头部引入玩家互动模块
import { interactivePropertySystem } from "@timi/mogs-sdk-open";
...
const userData = await interactivePropertySystem.storagesOfFriends({
    keyList: ["score"],
    name: "name_1",
    selfOpenid: this.selfOpenid,
});
1
2
3
4
5
6
7
8

category 操作触发

# 参数:

属性 类型
params storagesOfFriendsParams

storagesOfFriendsParams

属性 类型 描述
complete? Function -
fail? function -
keyList string[] -
name string -
selfOpenid string -
success? function -

# 返回值:

Promise‹interactionData.storagesOfFriendsResponse›

返回一个promise对象