(items)
| 89 | } |
| 90 | |
| 91 | function rewardText(items) { |
| 92 | if (!Array.isArray(items) || !items.length) return ""; |
| 93 | return items.map((item) => `${item.key || "奖励"}${item.value || ""}`).join(" "); |
| 94 | } |
| 95 | |
| 96 | class Task { |
| 97 | constructor(openid) { |
no outgoing calls
no test coverage detected