Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 27 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,33 @@ print("run[CQ:image,file="+j["img"]+"]")

检测类型编号列表:[1:违禁违规|2:文本色情|3:敏感信息|4:恶意推广|5:低俗辱骂|6:恶意推广-联系方式|7:恶意推广-软文推广]
</details>

<details>
<summary>bank</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/bank"`

- [x] 银行活期存款 [金额]

- [x] 银行定期存款 [金额] [期限(3/7/15/30天)]

- [x] 银行活期取款 [金额/全部]

- [x] 银行定期取款 [全部] [定期款序列号]

- [x] 银行贷款 [金额] [期限(天)]

- [x] 银行还款 [金额]

- [x] 查看我的存款

- [x] 查看我的贷款

- [x] 查看今日利率

- [x] 我要信仰之跃
</details>

<details>
<summary>base64卦加解密</summary>

Expand Down Expand Up @@ -645,17 +672,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 磕cp大老师 雪乃

</details>
<details>
<summary>奇怪语言加解密</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/crypter"`

- [x] 齁语加密 [文本] 或 h加密 [文本]
- [x] 齁语解密 [密文] 或 h解密 [密文]
- [x] fumo加密 [文本]
- [x] fumo解密 [文本]

</details>
<details>
<summary>今日早报</summary>
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import (
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/animetrace" // AnimeTrace 动画/Galgame识别
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/autowithdraw" // 触发者撤回时也自动撤回
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/baiduaudit" // 百度内容审核
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/bank" // 银行
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/base16384" // base16384加解密
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/base64gua" // base64卦加解密
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/baseamasiro" // base天城文加解密
Expand Down
25 changes: 25 additions & 0 deletions plugin/bank/bank.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//Package bank 银行
package bank

import (
"os"
)

func init() {
// 初始化数据目录
_ = os.MkdirAll(accountPath, 0755)

// 加载账户数据
loadAllAccounts()

// 加载利息信息
loadInterestInfo()

// 启动定时任务
initCronJobs()

processLoanOverdue()

// 添加自动扣款任务
autoDeductLoanPayment()
}
Loading
Loading