feat: chunk uploads

This commit is contained in:
Rogee
2025-01-15 00:26:10 +08:00
parent 591771ce77
commit 9bfdf0e0ea
16 changed files with 451 additions and 40 deletions

View File

@@ -16,11 +16,12 @@ func Provide(opts ...opt.Option) error {
return err
}
return container.Container.Provide(func(app *app.Config) (*Client, error) {
return nil, nil
wechatPay, err := wechat.NewClientV3(
config.WeChat.MechID,
config.WeChat.SerialNo,
config.WeChat.ApiV3Key,
config.WeChat.PrivateKey,
config.WechatMechID,
config.WechatSerialNo,
config.WechatApiV3Key,
config.WechatPrivateKey,
)
if err != nil {
return nil, err