完善数据上报,每日支付任务认证
This commit is contained in:
@@ -2,6 +2,7 @@ package config
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/zeromicro/go-zero/core/stores/cache"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
||||
"github.com/zeromicro/go-zero/rest"
|
||||
"net/url"
|
||||
@@ -12,11 +13,18 @@ import (
|
||||
type Config struct {
|
||||
rest.RestConf
|
||||
MySql MySqlConf
|
||||
Cache cache.CacheConf
|
||||
Auth struct {
|
||||
AccessSecret string
|
||||
AccessExpire time.Duration
|
||||
AccessExpire time.Duration `json:",default=168h"`
|
||||
}
|
||||
Earn earn.Config
|
||||
Earn earn.Config
|
||||
DailyPay DailyPay
|
||||
}
|
||||
|
||||
type DailyPay struct {
|
||||
Contract string
|
||||
Network string `json:",default=mainnet"`
|
||||
}
|
||||
|
||||
// MySqlConf mysql配置
|
||||
|
||||
Reference in New Issue
Block a user