From 2ee651f6d5612cdec35f6e5f8d9d5ff7c66b7ec4 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 19 四月 2024 16:57:09 +0800
Subject: [PATCH] 更改接口前置
---
config.yaml | 150 +++-----------------------------------------------
1 files changed, 9 insertions(+), 141 deletions(-)
diff --git a/config.yaml b/config.yaml
index 56e2f29..b758253 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,41 +1,3 @@
-aliyun-oss:
- endpoint: yourEndpoint
- access-key-id: yourAccessKeyId
- access-key-secret: yourAccessKeySecret
- bucket-name: yourBucketName
- bucket-url: yourBucketUrl
- base-path: yourBasePath
-autocode:
- server-model: /model/%s
- server-router: /router/%s
- server: /server
- server-api: /api/v1/%s
- server-plug: /plugin/%s
- server-initialize: /initialize
- root: D:\basic.com\gin-vue-admin
- web-table: /view
- web: /web/src
- server-service: /service/%s
- server-request: /model/%s/request/
- web-api: /api
- web-form: /view
- transfer-restart: true
-aws-s3:
- bucket: xxxxx-10005608
- region: ap-shanghai
- endpoint: ""
- secret-id: your-secret-id
- secret-key: your-secret-key
- base-url: https://gin.vue.admin
- path-prefix: srm
- s3-force-path-style: false
- disable-ssl: false
-captcha:
- key-long: 6
- img-width: 240
- img-height: 80
- open-captcha: 0
- open-captcha-timeout: 3600
cors:
mode: strict-whitelist
whitelist:
@@ -66,123 +28,29 @@
singular: false
log-zap: false
disable: true
-email:
- to: xxx@qq.com
- from: xxx@163.com
- host: smtp.163.com
- secret: xxx
- nickname: test
- port: 465
- is-ssl: true
-excel:
- dir: ./resource/excel/
-hua-wei-obs:
- path: you-path
- bucket: you-bucket
- endpoint: you-endpoint
- access-key: you-access-key
- secret-key: you-secret-key
-jwt:
- signing-key: 3791a68f-f9e6-40db-8095-31877f22c9c7
- expires-time: 7d
- buffer-time: 1d
- issuer: qmPlus
-local:
- path: uploads/file
- store-path: uploads/file
-mssql:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
mysql:
prefix: ""
port: "3306"
config: charset=utf8mb4&parseTime=True&loc=Local
- db-name: aps_srm
+ db-name: aps_server2
username: root
password: c++java123
path: 192.168.20.119
engine: ""
- log-mode: error
+ log-mode: info
max-idle-conns: 10
max-open-conns: 100
singular: false
- log-zap: false
-oracle:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
-pgsql:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
-qiniu:
- zone: ZoneHuaDong
- bucket: ""
- img-path: ""
- access-key: ""
- secret-key: ""
- use-https: false
- use-cdn-domains: false
-redis:
- addr: 127.0.0.1:6379
- password: ""
- db: 0
-sqlite:
- prefix: ""
- port: ""
- config: ""
- db-name: ""
- username: ""
- password: ""
- path: ""
- engine: ""
- log-mode: ""
- max-idle-conns: 10
- max-open-conns: 100
- singular: false
- log-zap: false
+ log-zap: true
system:
env: public
db-type: mysql
- oss-type: local
- router-prefix: "/api"
- addr: 8889
- iplimit-count: 15000
- iplimit-time: 3600
- use-multipoint: false
- use-redis: false
+ router-prefix: "/api-srm"
+ addr: 8004
+ grpc-port: "9093"
grpc-url: 192.168.20.119:9091
+ grpc-admin-url: 192.168.20.119:50051
+ grpc-wms-url: 192.168.20.119:8006
tencent-cos:
bucket: xxxxx-10005608
region: ap-shanghai
@@ -202,7 +70,7 @@
start: true
with_seconds: false
zap:
- level: info
+ level: debug
prefix: '[srm]'
format: console
director: log
--
Gitblit v1.8.0