Files
kami_shop/conf/app.conf
danial a49e73bf33 refactor(conf): 删除未使用的配置项
- 移除了 conf/app.conf 中的 [gateway2]配置节
- 删除了 internal/config/config.go 中的 GetGateway2 和 GetRechargeTMall 函数
- 在 internal/utils/client/client.go 和 internal/integrations/scan_shop.go 中添加了请求超时设置
2025-02-23 19:33:06 +08:00

32 lines
443 B
Plaintext

#基本信息
appname = shop
httpport = 12305
runmode = prod
siteName = 商户平台
host=0.0.0.0
; 外网链接
HTTPAddr = 0.0.0.0
copyrequestbody = true
[mysql]
dbhost = 127.0.0.1
dbport = 3306
dbuser = root
dbpasswd = 123456
dbbase = kami
[redis]
host = redis
port = 6379
passwd =
db = 0
[gateway]
url = http://127.0.0.1:12309
[partial]
url = http://127.0.0.1:12310
[secret]
key = thisis32bitlongpassphraseimusing
iv = 1234567890123456