Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
honghuiliu
qsh-wc
Commits
39150375
Commit
39150375
authored
Sep 07, 2022
by
sven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
35ecca54
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
257 additions
and
85 deletions
+257
-85
package-lock.json
pc/package-lock.json
+81
-79
config-prod.yaml
server/config-prod.yaml
+169
-0
config-test.yaml
server/config-test.yaml
+2
-2
config.yaml
server/config.yaml
+1
-1
pm2-prod.json
server/pm2-prod.json
+4
-3
No files found.
pc/package-lock.json
View file @
39150375
...
...
@@ -1775,63 +1775,6 @@
"integrity"
:
"sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
,
"dev"
:
true
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz"
,
"integrity"
:
"sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"ssri"
:
{
"version"
:
"8.0.1"
,
"resolved"
:
"https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz"
,
...
...
@@ -1840,28 +1783,6 @@
"requires"
:
{
"minipass"
:
"^3.1.1"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
}
}
}
},
...
...
@@ -10788,6 +10709,87 @@
}
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz"
,
"integrity"
:
"sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"version"
:
"4.0.12"
,
"resolved"
:
"https://registry.npmjs.org/vue-router/-/vue-router-4.0.12.tgz"
,
...
...
server/config-prod.yaml
0 → 100644
View file @
39150375
aliyun-oss
:
endpoint
:
yourEndpoint
access-key-id
:
yourAccessKeyId
access-key-secret
:
yourAccessKeySecret
bucket-name
:
yourBucketName
bucket-url
:
yourBucketUrl
base-path
:
yourBasePath
autocode
:
transfer-restart
:
true
root
:
/Users/honghuiliu/go/project/qsh-wc
server
:
/server
server-api
:
/api/v1/%s
server-plug
:
/plugin/%s
server-initialize
:
/initialize
server-model
:
/model/%s
server-request
:
/model/%s/request/
server-router
:
/router/%s
server-service
:
/service/%s
web
:
/web/src
web-api
:
/api
web-form
:
/view
web-table
:
/view
aws-s3
:
bucket
:
xxxxx-10005608
region
:
ap-shanghai
endpoint
:
"
"
s3-force-path-style
:
false
disable-ssl
:
false
secret-id
:
xxxxxxxx
secret-key
:
xxxxxxxx
base-url
:
https://gin.vue.admin
path-prefix
:
github.com/flipped-aurora/gin-vue-admin/server
captcha
:
key-long
:
6
img-width
:
240
img-height
:
80
cors
:
mode
:
whitelist
whitelist
:
-
allow-origin
:
example1.com
allow-methods
:
GET, POST
allow-headers
:
content-type
expose-headers
:
Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,
Content-Type
allow-credentials
:
true
-
allow-origin
:
example2.com
allow-methods
:
GET, POST
allow-headers
:
content-type
expose-headers
:
Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,
Content-Type
allow-credentials
:
true
db-list
:
-
disable
:
false
type
:
"
"
alias-name
:
"
"
path
:
"
"
port
:
"
"
config
:
"
"
db-name
:
"
"
username
:
"
"
password
:
"
"
max-idle-conns
:
10
max-open-conns
:
100
log-mode
:
"
"
log-zap
:
false
email
:
to
:
xxx@qq.com
port
:
465
from
:
xxx@163.com
host
:
smtp.163.com
is-ssl
:
true
secret
:
xxx
nickname
:
test
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
:
1471b45a-c33d-47d7-af4d-121212134343
expires-time
:
604800
buffer-time
:
86400
issuer
:
qmPlus
local
:
path
:
uploads/file
store-path
:
uploads/file
mysql
:
path
:
rm-bp11y8q16s7511oi4.mysql.rds.aliyuncs.com
port
:
"
3306"
config
:
charset=utf8mb4&parseTime=True&loc=Local
db-name
:
qsh_wc
username
:
qsh_wc
password
:
uekkkHDSKLddEEFD63513
max-idle-conns
:
10
max-open-conns
:
100
log-mode
:
error
log-zap
:
false
pgsql
:
path
:
"
"
port
:
"
"
config
:
"
"
db-name
:
"
"
username
:
"
"
password
:
"
"
max-idle-conns
:
10
max-open-conns
:
100
log-mode
:
"
"
log-zap
:
false
qiniu
:
zone
:
ZoneHuaDong
bucket
:
"
"
img-path
:
"
"
use-https
:
false
access-key
:
"
"
secret-key
:
"
"
use-cdn-domains
:
false
redis
:
db
:
0
addr
:
"
r-bp1cm5ncyvq2hnul81.redis.rds.aliyuncs.com:6379"
password
:
"
rRk2k3nf9JJi283lk119Jvwz"
system
:
env
:
public
addr
:
9802
db-type
:
mysql
oss-type
:
local
use-multipoint
:
false
use-redis
:
false
iplimit-count
:
15000
iplimit-time
:
3600
tencent-cos
:
bucket
:
xxxxx-10005608
region
:
ap-shanghai
secret-id
:
xxxxxxxx
secret-key
:
xxxxxxxx
base-url
:
https://gin.vue.admin
path-prefix
:
github.com/flipped-aurora/gin-vue-admin/server
timer
:
start
:
true
spec
:
'
@daily'
with_seconds
:
false
detail
:
-
tableName
:
sys_operation_records
compareField
:
created_at
interval
:
2160h
-
tableName
:
jwt_blacklists
compareField
:
created_at
interval
:
168h
zap
:
level
:
info
prefix
:
'
[wc]'
format
:
console
director
:
log
encode-level
:
LowercaseColorLevelEncoder
stacktrace-key
:
stacktrace
max-age
:
30
show-line
:
true
log-in-console
:
true
oss
:
AccessId
:
LTAI5t6Wngx37X2Auxr4sUCF
AccessKey
:
kyz2L5eQukcxLTYixJ7n8F4Y2og6JU
OssHost
:
"
wensi-zhanlang.oss-cn-hangzhou.aliyuncs.com"
BucketName
:
"
wensi-zhanlang-prod"
OssInternalHost
:
"
https://wensi-zhanlang.oss-cn-hangzhou-internal.aliyuncs.com"
EndPoint
:
"
oss-cn-hangzhou.aliyuncs.com"
prefix
:
"
qsh_wc/"
\ No newline at end of file
server/config-test.yaml
View file @
39150375
...
...
@@ -119,7 +119,7 @@ qiniu:
use-cdn-domains
:
false
redis
:
db
:
0
addr
:
"
r-bp1cm5ncyvq2hnul81
pd.redis.rds.aliyuncs.com:1
6379"
addr
:
"
r-bp1cm5ncyvq2hnul81
.redis.rds.aliyuncs.com:
6379"
password
:
"
rRk2k3nf9JJi283lk119Jvwz"
system
:
env
:
public
...
...
@@ -150,7 +150,7 @@ timer:
interval
:
168h
zap
:
level
:
info
prefix
:
'
[
github.com/flipped-aurora/gin-vue-admin/server
]'
prefix
:
'
[
wc
]'
format
:
console
director
:
log
encode-level
:
LowercaseColorLevelEncoder
...
...
server/config.yaml
View file @
39150375
...
...
@@ -150,7 +150,7 @@ timer:
interval
:
168h
zap
:
level
:
info
prefix
:
'
[
github.com/flipped-aurora/gin-vue-admin/server
]'
prefix
:
'
[
wc
]'
format
:
console
director
:
log
encode-level
:
LowercaseColorLevelEncoder
...
...
server/pm2-prod.json
View file @
39150375
{
"apps"
:
[
{
"name"
:
"
cf-data-monitor
-prod"
,
"name"
:
"
qsh-wc-test
-prod"
,
"exec_mode"
:
"fork"
,
"autorestart"
:
true
,
"instances"
:
1
,
"script"
:
"
cf_data_monitor_
prod"
,
"script"
:
"
qsh-wc-test-
prod"
,
"node_args"
:
[],
"args"
:
[
],
"env"
:
{
"GO_RUN_MODE"
:
"prod"
"GO_RUN_MODE"
:
"prod"
,
"GVA_CONFIG"
:
"config-prod.yaml"
}
}
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment