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
956e629b
authored
Jun 29, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
ec679887
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
7 additions
and
8 deletions
bat/coursehttp.bat
cmd/logs/2020-06-15.log → bat/logs/2020-06-28.log
cmd/logs/2020-06-15.log.wf → bat/logs/2020-06-28.log.wf
cmd/logs/.gitignore
controller/course_controller.go
controller/course_topic_controller.go
framework/gin_/ServiceBuilder.go → framework/gin_/service_builder.go
framework/gin_/ServiceHelper.go → framework/gin_/service_helper.go
framework/gin_/ServiceUtil.go → framework/gin_/service_util.go
bat/coursehttp.bat
View file @
956e629b
set MICRO_REGISTRY=etcd
set MICRO_REGISTRY_ADDRESS=192.168.2.232:2379
go run ../cmd/course_http_server.go
\ No newline at end of file
go run ../cmd/course_http_server.go -config=../conf/config.ini
\ No newline at end of file
cmd/logs/2020-06-15
.log
→
bat/logs/2020-06-28
.log
View file @
956e629b
File moved
cmd/logs/2020-06-15
.log.wf
→
bat/logs/2020-06-28
.log.wf
View file @
956e629b
File moved
cmd/logs/.gitignore
deleted
100644 → 0
View file @
ec679887
*
!.gitignore
\ No newline at end of file
controller/course_controller.go
View file @
956e629b
...
...
@@ -7,7 +7,7 @@ import (
"search_server/service"
)
func
I
nit
()
{
func
i
nit
()
{
courseService
:=
service
.
NewCourseServiceImpl
()
gin_
.
NewBuilder
()
.
WithService
(
courseService
)
.
WithMiddleware
(
Check_Middleware
())
.
...
...
controller/course_topic_controller.go
View file @
956e629b
...
...
@@ -7,7 +7,7 @@ import (
"search_server/service"
)
func
Init2
()
{
func
init
()
{
courseService
:=
service
.
NewCourseTopicServiceImpl
()
gin_
.
NewBuilder
()
.
WithService
(
courseService
)
.
WithMiddleware
(
Check_Middleware
())
.
...
...
framework/gin_/
ServiceB
uilder.go
→
framework/gin_/
service_b
uilder.go
View file @
956e629b
File moved
framework/gin_/
ServiceH
elper.go
→
framework/gin_/
service_h
elper.go
View file @
956e629b
File moved
framework/gin_/
ServiceU
til.go
→
framework/gin_/
service_u
til.go
View file @
956e629b
package
gin_
import
"github.com/gin-gonic/gin"
import
(
"github.com/gin-gonic/gin"
)
var
HandlerMap
map
[
string
]
map
[
string
]
gin
.
HandlerFunc
...
...
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