init: initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package system
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
type ClientRouter struct {
|
||||
}
|
||||
|
||||
func (s *ClientRouter) InitClientRouter(Router *gin.RouterGroup) {
|
||||
clientRouter := Router.Group("client")
|
||||
{
|
||||
clientRouter.POST("save", clientApi.SaveClient)
|
||||
clientRouter.POST("update", clientApi.UpdateClient)
|
||||
clientRouter.POST("getClientList", clientApi.GetClientList)
|
||||
clientRouter.POST("delete", clientApi.Delete)
|
||||
clientRouter.GET("detail", clientApi.Detail)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user