router/client.go
@@ -14,6 +14,7 @@ clientRouter.POST("add", clientApi.Add) // 添加客户 clientRouter.DELETE("delete", clientApi.Delete) // 删除客户 clientRouter.PUT("update", clientApi.Update) // 更新客户 clientRouter.POST("list", clientApi.List) // 获取客户列表 clientRouter.POST("list", clientApi.List) // 获取客户列表 clientRouter.POST("checkName", clientApi.CheckName) // 检查客户名称是否重复 } } }