Pull latest changes from upstream/main (GitHub) including: - Purchase RPC service (proto, server, logic, models) - Gateway route updates for purchase endpoints - SQL migration and config updates Excludes deploy/bin/ pre-compiled arm64 binaries (builds use multi-stage Dockerfiles targeting amd64).
24 lines
462 B
Go
24 lines
462 B
Go
// 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 {
|
|
AccessSecret string
|
|
AccessExpire int64
|
|
DefaultTenantId string
|
|
}
|
|
DataSource string
|
|
PostgresDataSource string
|
|
SystemRpc zrpc.RpcClientConf
|
|
InventoryRpc zrpc.RpcClientConf
|
|
PurchaseRpc zrpc.RpcClientConf
|
|
}
|