# Variable: incomes

incomes(): Promise‹ReadonlyWithExtensions‹Income[]››

收益列表

example

// 在头部引入收益模块
import { incomeSystem } from "@timi/mogs-sdk";
...
// 使用
const incomes = await incomeSystem.incomes;
incomeList.forEach(...);
1
2
3
4
5
6

# 返回值:

Promise‹ReadonlyWithExtensions‹Income[]››

Income结构

属性 类型 描述
backpackItem BackpackItem 收益对应的背包物品
id Long 收益id
incomeItem IncomeItem 收入物品信息
lastOnlineIncome Long 上次未领取的在线收益值
offlineIncome Long 离线收益值