增加taptap支付

This commit is contained in:
ayflying
2025-05-29 11:25:06 +08:00
parent 8195d633a1
commit 005cf11b2a
3 changed files with 163 additions and 2 deletions

View File

@@ -185,11 +185,12 @@ func (a *AdapterFile) Data(ctx context.Context) (data map[interface{}]interface{
}
func (a *AdapterFile) Keys(ctx context.Context) (keys []interface{}, err error) {
keys = make([]interface{}, 0)
gfile.ReadLines(fileIndex, func(text string) (err error) {
arr := strings.Split(text, "|")
keys = append(keys, arr[0])
return
})
return
}