yjp 9 сар өмнө
parent
commit
159f097b45

+ 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")