2026-02-28 15:29:16 +08:00
|
|
|
// Code scaffolded by goctl. Safe to edit.
|
|
|
|
|
// goctl 1.9.2
|
|
|
|
|
|
|
|
|
|
package config
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
|
"github.com/zeromicro/go-zero/zrpc"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
|
rest.RestConf
|
|
|
|
|
Auth struct {
|
2026-03-30 02:53:55 +00:00
|
|
|
AccessSecret string
|
|
|
|
|
AccessExpire int64
|
|
|
|
|
DefaultTenantId string
|
2026-02-28 15:29:16 +08:00
|
|
|
}
|
2026-03-30 02:53:55 +00:00
|
|
|
DataSource string
|
|
|
|
|
PostgresDataSource string
|
|
|
|
|
SystemRpc zrpc.RpcClientConf
|
|
|
|
|
InventoryRpc zrpc.RpcClientConf
|
2026-06-15 09:20:56 +08:00
|
|
|
PurchaseRpc zrpc.RpcClientConf
|
2026-02-28 15:29:16 +08:00
|
|
|
}
|