daShangDao_psiServer/config.yaml
2026-06-23 14:26:46 +08:00

70 lines
1.7 KiB
YAML

server:
port: "9090"
# host: "https://psi.api.buzhiyushu.cn/"
host: "http://192.168.101.213:9090/"
database:
host: 175.27.224.66
port: "3306"
user: root
password: 5e07c0eec1770c94
name: psi
encrypt_key: "0123456789abcdef0123456789abcdef"
task_database:
host: nj-cynosdbmysql-grp-1v6vxn5f.sql.tencentcdb.com
port: "26247"
user: root
password: Long6166@@
name: task
jwt:
secret: "0123456789abcdef0123456789abcdef"
expire_hours: 24
api_sign:
app_key: "psi"
app_secret: "psi_api_sign_secret"
client_id: "psi"
sign_method: "md5"
timestamp_tolerance: 300
log:
max_age: 600
rotate_time: 600
root_path: "./runtime/logs"
channel:
sql: "/sql/err.log"
work: "/work/err.log"
request: "/request/err.log"
es: "/es/err.log"
redis: "/redis/err.log"
es:
host: "http://36.212.12.92:9527"
index: "books-from-mysql-v2"
username: "elastic"
password: "+Tz5qR_KushZ-bPgZ_H-"
ocr:
service_url: "http://127.0.0.1:35569/ocr"
exe_url: "./ocr/OCRService.exe"
external_api:
# sync_product_url: "http://192.168.101.127:8080/zhishu/filterSet/save"
sync_product_url: "https://api.buzhiyushu.cn/zhishu/filterSet/save"
es_update_book_url: "https://book.center.yushutx.com/api/es/updateBookFieldsByISBN"
# sync_task_url: "http://192.168.101.156:8080/task/create"
sync_task_url: "http://36.212.7.246:8283/task/create"
# sync_task_body_url: "http://192.168.101.156:8080/task/setTaskBody"
sync_task_body_url: "http://36.212.7.246:8283/task/setTaskBody"
timeout: 30
wangdian:
url: "https://api.wangdian.cn/openapi2/purchase_order_push.php"
sandbox_url: "https://sandbox.wangdian.cn/openapi2/purchase_order_push.php"
sandbox: true
sid: "apidevnew2"
appkey: "skxz2-test"
appsecret: "85bf423bb"
timeout: 30