45 lines
977 B
YAML
45 lines
977 B
YAML
Name: plant-api
|
|
Host: 0.0.0.0
|
|
Port: 9004
|
|
|
|
Auth:
|
|
AccessSecret: 9149f2eb-d517-4a50-a03a-231dbcf0d872
|
|
AccessExpire: 7200
|
|
|
|
# MySQL
|
|
DB:
|
|
DataSource: root:root@tcp(192.168.100.127:3307)/sundynix_micro_go?charset=utf8mb4&parseTime=True&loc=Local
|
|
|
|
# Redis
|
|
Cache:
|
|
- Host: 127.0.0.1:6379
|
|
Pass: sundynix
|
|
Type: node
|
|
|
|
# RPC 依赖
|
|
UserRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 192.168.100.127:2379
|
|
Key: user.rpc
|
|
|
|
FileRpc:
|
|
Etcd:
|
|
Hosts:
|
|
- 192.168.100.127:2379
|
|
Key: file.rpc
|
|
|
|
# 百度植物识别
|
|
BaiduImgClassify:
|
|
ApiKey: hpBfjwy8ifv3qswYGYjUCNKN
|
|
SecretKey: i5aXZdM4XZVuDroBslL0f3uIuwbAyXFS
|
|
|
|
# 微信支付
|
|
WechatPay:
|
|
MchId: "1735188493"
|
|
MchCertificateSerialNumber: "3725BFCA9CA3AF819AEC5D0CB7D3540BBC67F2CF"
|
|
MchApiV3Key: "a1B2c3D4e5F6g7H8i9J0k1L2m3N4o5P6"
|
|
PrivateKeyPath: "/Users/blizzard/privateFolder/cert/apiclient_key.pem"
|
|
PublicKeyPath: "/Users/blizzard/privateFolder/cert/pub_key.pem"
|
|
NotifyUrl: "https://prod.sundynix.cn/api/wechatpay/notify"
|