完善任务接口逻辑以及Eran事件上报接入

This commit is contained in:
lianghuanjie
2024-12-13 16:15:20 +08:00
parent 9f4fb0a9d0
commit f9084a0eb3
20 changed files with 408 additions and 84 deletions

View File

@@ -5,6 +5,8 @@ import (
"github.com/zeromicro/go-zero/core/stores/sqlx"
"github.com/zeromicro/go-zero/rest"
"net/url"
"nova_task/internal/pkg/earn"
"time"
)
type Config struct {
@@ -12,8 +14,9 @@ type Config struct {
MySql MySqlConf
Auth struct {
AccessSecret string
AccessExpire int64
AccessExpire time.Duration
}
Earn earn.Config
}
// MySqlConf mysql配置