fix: wechat verify

This commit is contained in:
Rogee
2025-01-10 19:44:24 +08:00
parent ab576706e7
commit 52c17b63bb
13 changed files with 83 additions and 92 deletions

View File

@@ -3,6 +3,8 @@ package tenants
import (
"database/sql"
"backend/providers/jwt"
"git.ipao.vip/rogeecn/atom"
"git.ipao.vip/rogeecn/atom/container"
"git.ipao.vip/rogeecn/atom/contracts"
@@ -11,9 +13,11 @@ import (
func Provide(opts ...opt.Option) error {
if err := container.Container.Provide(func(
jwt *jwt.JWT,
svc *Service,
) (*Controller, error) {
obj := &Controller{
jwt: jwt,
svc: svc,
}
if err := obj.Prepare(); err != nil {