소스 검색

修改demo

yjp 9 달 전
부모
커밋
159f097b45
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      project/server/application/service/student.go

+ 2 - 3
project/server/application/service/student.go

@@ -129,9 +129,8 @@ func (svc *StudentService) v1(appInstance *application.App) {
 	})
 
 	query_rule.AddUseQueryRuleQueryRoute[student.Info](v1Binder, &query_rule.AddUseQueryRuleQueryRouteParams{
-		DBSchema:   dbSchema,
-		DomainPath: "/student",
-		Object:     &student.Entity{},
+		DBSchema: dbSchema,
+		Object:   &student.Entity{},
 		QueryMiddlewares: []binding.Middleware{
 			func(c *api.Context, i *infrastructure.Infrastructure) {
 				fmt.Println("In Advanced Query")