# Interface: GetAttachedAttributesParams
• GetAttachedAttributesParams()
获取物品的附加属性 - 请求参数
# Properties
# Optional
backpackItem
• backpackItem? : BackpackItem
背包物品
Returns: BackpackItem
# itemId
• itemId: string
物品ID
Returns: string
# itemType
• itemType: number
物品类型(背包物品为0,否则传业务方自定义维护的值)
Returns: number
# Methods
# Optional
complete
▸ complete(this
: void, res
: AttachedAttributeMap | null | MogsError): void
Inherited from GetUserSignParams.complete
操作完成时(成功或失败),均会调用该回调函数
# 参数:
属性 | 类型 |
---|---|
this | void |
res | AttachedAttributeMap | null | MogsError |
# 返回值:
void
# Optional
fail
▸ fail(this
: void, error
: MogsError): void
Inherited from GetUserSignParams.fail
操作失败时,调用该回调函数
# 参数:
属性 | 类型 |
---|---|
this | void |
error | MogsError |
# 返回值:
void
# Optional
success
▸ success(this
: void, res
: AttachedAttributeMap | null): void
Inherited from GetUserSignParams.success
操作成功时,调用该回调函数
# 参数:
属性 | 类型 |
---|---|
this | void |
res | AttachedAttributeMap | null |
# 返回值:
void