Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0ff55ec3
authored
Jun 01, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新配置
parent
7370dd22
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
14 deletions
bat/course.bat
bat/coursehttp.bat
bat/gw.bat
bat/gw_.bat
bat/searchGrpc.bat
bat/searchHttp.bat
bat/user.bat
bat/web.bat
conf/dev/config.ini
conf/dev/database.ini
conf/dev/rabmq.ini
doc/test/mq/1.go
bat/course.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
go run ../cmd/course_server.go --server_address :9092
go run ../cmd/course_server.go --server_address :9092
\ No newline at end of file
bat/coursehttp.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
go run ../cmd/course_http_server.go -config=../conf/config.ini
go run ../cmd/course_http_server.go -config=../conf/config.ini
\ No newline at end of file
bat/gw.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
micro api
micro api
bat/gw_.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
micro api
micro api
bat/searchGrpc.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
go run ../cmd/search_server.go -config=../conf/config.ini
go run ../cmd/search_server.go -config=../conf/config.ini
\ No newline at end of file
bat/searchHttp.bat
View file @
0ff55ec3
::set MICRO_REGISTRY=etcd
::set MICRO_REGISTRY=etcd
::set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
::set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
go run ../cmd/search_http_server.go -config=../conf
go run ../cmd/search_http_server.go -config=../conf
\ No newline at end of file
bat/user.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
go run cmd/user_server.go --server_address :9090
go run cmd/user_server.go --server_address :9090
\ No newline at end of file
bat/web.bat
View file @
0ff55ec3
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.
2.23
2:2379
set MICRO_REGISTRY_ADDRESS=192.168.
1.25
2:2379
micro web
micro web
conf/dev/config.ini
View file @
0ff55ec3
...
@@ -8,8 +8,8 @@ api_domain = http://api.ichunt.com/msg/sendMessageByAuto
...
@@ -8,8 +8,8 @@ api_domain = http://api.ichunt.com/msg/sendMessageByAuto
api_md5_str
=
fh6y5t4rr351d2c3bryi
api_md5_str
=
fh6y5t4rr351d2c3bryi
[goods]
[goods]
api_url
=
http://192.168.
2.232:6000
4
api_url
=
http://192.168.
1.237:6001
4
sz_api_url
=
http://192.168.
2.232:6000
4
sz_api_url
=
http://192.168.
1.237:6001
4
[DINGDING]
[DINGDING]
SEARCH_API_MONITOR
=
6d0fa85e01a02c39347d011ae973fd21b76c6c7ce582d3ea470c6b65a318848d
SEARCH_API_MONITOR
=
6d0fa85e01a02c39347d011ae973fd21b76c6c7ce582d3ea470c6b65a318848d
...
...
conf/dev/database.ini
View file @
0ff55ec3
...
@@ -12,7 +12,7 @@ type = mysql
...
@@ -12,7 +12,7 @@ type = mysql
[supp]
[supp]
user_name
=
liexin_ass
user_name
=
liexin_ass
password
=
`liexin_ass#zsyM`
password
=
`liexin_ass#zsyM`
host
=
192.168.
2.23
2
host
=
192.168.
1.25
2
database
=
liexin_ass
database
=
liexin_ass
table_prefix
=
lie_
table_prefix
=
lie_
type
=
mysql
type
=
mysql
...
@@ -20,7 +20,7 @@ type = mysql
...
@@ -20,7 +20,7 @@ type = mysql
[cms]
[cms]
user_name
=
ichuntcms
user_name
=
ichuntcms
password
=
`ichuntcms#zsyM`
password
=
`ichuntcms#zsyM`
host
=
192.168.
2.23
2
host
=
192.168.
1.25
2
database
=
ichuntcms
database
=
ichuntcms
table_prefix
=
table_prefix
=
type
=
mysql
type
=
mysql
conf/dev/rabmq.ini
View file @
0ff55ec3
;存放本系统所有rabmq配置
;存放本系统所有rabmq配置
[rabmq]
[rabmq]
url
=
amqp://guest:guest@192.168.
2.23
2:5672/
url
=
amqp://guest:guest@192.168.
1.25
2:5672/
;存放本系统所有的队列名称
;存放本系统所有的队列名称
[rabmq_all]
[rabmq_all]
...
...
doc/test/mq/1.go
View file @
0ff55ec3
...
@@ -40,7 +40,7 @@ func main() {
...
@@ -40,7 +40,7 @@ func main() {
"szpurchase_message_tasks"
,
"szpurchase_message_tasks"
,
"szpurchase_message_tasks"
,
"szpurchase_message_tasks"
,
"direct"
,
"direct"
,
"amqp://guest:guest@192.168.
2.23
2:5672/"
,
"amqp://guest:guest@192.168.
1.25
2:5672/"
,
}
}
print
(
"3333434"
)
print
(
"3333434"
)
for
{
for
{
...
...
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