| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- {
- "port": 30003,
- "database": {
- "host": "YOUR_MYSQL_HOST",
- "database": "YOUR_DB_NAME",
- "port": 3306,
- "user": "YOUR_DB_USER",
- "password": "YOUR_DB_PASSWORD",
- "connectTimeout": 30000
- },
- "redis": {
- "host": "localhost",
- "port": 6379,
- "password": ""
- },
- "rabbitmq": {
- "url": "amqp://USER:PASSWORD@HOST:5672",
- "managementBaseUrl": "http://HOST:15672",
- "reconnectInterval": 5000,
- "lepaoScheduleTickMs": 2000,
- "lepaoScheduleBatch": 100,
- "mqPrefix": ""
- },
- "email": [
- {
- "host": "smtp.primary.example.com",
- "port": 587,
- "secure": false,
- "user": "noreply@primary.example.com",
- "password": "YOUR_SMTP_PASSWORD_1",
- "from": "Display Name <noreply@primary.example.com>"
- },
- {
- "host": "smtp.secondary.example.com",
- "port": 465,
- "secure": true,
- "user": "mail@secondary.example.com",
- "password": "YOUR_SMTP_PASSWORD_2",
- "from": "Display Name <mail@secondary.example.com>"
- },
- {
- "host": "smtp.zeptomail.example.com",
- "port": 587,
- "secure": true,
- "user": "noreply@mail.secondary.example.com",
- "password": "YOUR_SMTP_PASSWORD_3",
- "from": "Display Name <noreply@mail.secondary.example.com>"
- },
- {
- "host": "smtp.exmail.example.com",
- "port": 465,
- "secure": true,
- "user": "mail@domain.example.com",
- "password": "YOUR_SMTP_PASSWORD_4",
- "from": "Display Name <mail@domain.example.com>"
- }
- ],
- "url": "https://your-lepao-api.example.com",
- "url2": "http://127.0.0.1:30004",
- "url3": "http://127.0.0.1:30001",
- "runpy": "http://127.0.0.1:58000/api",
- "pay": {
- "url": "https://pay.example.com",
- "pid": 0,
- "key": "YOUR_PAY_KEY",
- "return_url": "https://your-site.example/#/store/orderDetail/",
- "uni_return_url": "https://m.your-site.example/#/pages/order/order-detail?id="
- },
- "unilogin": {
- "url": "https://open.example.com",
- "appid": "YOUR_APPID",
- "appkey": "YOUR_APPKEY",
- "return_url": "https://your-site.example/uniLogin/loginSuccess",
- "uni_return_url": "https://m.your-site.example/#/pages/login/login"
- },
- "qgChannelProxy": {
- "extractKey": "YOUR_EXTRACT_KEY",
- "authUser": "YOUR_AUTH_USER",
- "authPassword": "YOUR_AUTH_PASSWORD"
- },
- "server": "YOUR_SERVER_LABEL",
- "onebotv11": {
- "enabled": false,
- "transport": "reverse_ws",
- "reverseWsUrl": "ws://127.0.0.1:15700",
- "reverseWsPath": "/ws",
- "reverseWsHost": "0.0.0.0",
- "reverseWsPort": 15700,
- "reverseWsToken": "YOUR_WS_TOKEN",
- "callbackToken": "YOUR_CALLBACK_TOKEN",
- "ticketSenderNickname": "工单机器人",
- "selfId": "your-bot-id",
- "botName": "BotName",
- "botUuid": "your-bot-uuid"
- }
- }
|