1234567891011121314151617181920212223242526 |
- // Code generated by hertz generator. DO NOT EDIT.
- package hello1_service
- import (
- "github.com/cloudwego/hertz/pkg/app/server"
- hello1_service "pji_desktop_http/biz/handler/hello1_service"
- )
- /*
- This file will register all the routes of the services in the master idl.
- And it will update automatically when you use the "update" command for the idl.
- So don't modify the contents of the file, or your code will be deleted when it is updated.
- */
- // Register register routes based on the IDL 'api.${HTTP Method}' annotation.
- func Register(r *server.Hertz) {
- root := r.Group("/", rootMw()...)
- {
- _oss := root.Group("/oss", _ossMw()...)
- _oss.GET("/config", append(_getcicvossconfigMw(), hello1_service.GetCicvOssConfig)...)
- _oss.GET("/pji", append(_getpjiossconfigMw(), hello1_service.GetPjiOssConfig)...)
- _oss.GET("/pji", append(_testMw(), hello1_service.Test)...)
- }
- }
|