fix
This commit is contained in:
commit
03988243bf
|
@ -6,11 +6,12 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fusenapi/constants"
|
"fusenapi/constants"
|
||||||
"fusenapi/utils/mq_consumer_factory"
|
"fusenapi/utils/mq_consumer_factory"
|
||||||
"github.com/streadway/amqp"
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
"log"
|
"log"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/streadway/amqp"
|
||||||
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RabbitMqHandle struct {
|
type RabbitMqHandle struct {
|
||||||
|
|
|
@ -143,7 +143,7 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT
|
||||||
|
|
||||||
logcontent := ""
|
logcontent := ""
|
||||||
defer func() {
|
defer func() {
|
||||||
logx.Info("aaaa:", logcontent, err)
|
logx.Info("aaaa:", logcontent, " ", err.Error())
|
||||||
}()
|
}()
|
||||||
|
|
||||||
err = u.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
|
err = u.db.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
|
||||||
|
|
|
@ -10,7 +10,7 @@ Auth:
|
||||||
AccessSecret: fusen2023
|
AccessSecret: fusen2023
|
||||||
AccessExpire: 2592000
|
AccessExpire: 2592000
|
||||||
RefreshAfter: 1592000
|
RefreshAfter: 1592000
|
||||||
SourceRabbitMq: #amqp://rabbit001:rabbit001129@110.41.19.98:5672
|
SourceRabbitMq: "amqp://rabbit001:rabbit001129@110.41.19.98:5672"
|
||||||
AWS:
|
AWS:
|
||||||
S3:
|
S3:
|
||||||
Credentials:
|
Credentials:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user