Commit 78402768 by mushishixian

修复冲突以及数量问题

parent 546176a3
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"search_server/service" "search_server/service"
) )
func init() { func Init2() {
courseService := service.NewCourseServiceImpl() courseService := service.NewCourseServiceImpl()
gin_.NewBuilder().WithService(courseService). gin_.NewBuilder().WithService(courseService).
WithMiddleware(Check_Middleware()). WithMiddleware(Check_Middleware()).
......
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"search_server/service" "search_server/service"
) )
func init() { func Init() {
courseService:=service.NewCourseTopicServiceImpl() courseService:=service.NewCourseTopicServiceImpl()
gin_.NewBuilder().WithService(courseService). gin_.NewBuilder().WithService(courseService).
WithMiddleware(Check_Middleware()). WithMiddleware(Check_Middleware()).
......
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"search_server/service" "search_server/service"
) )
func init() { func Init3() {
MouserService := service.NewMouserServiceImpl() MouserService := service.NewMouserServiceImpl()
gin_.NewBuilder().WithService(MouserService). gin_.NewBuilder().WithService(MouserService).
WithEndpoint(MouserGetData(MouserService)). WithEndpoint(MouserGetData(MouserService)).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment