Skip to content

Commit

Permalink
v0.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gotoeasy committed Sep 10, 2024
1 parent 2c96fed commit 38950d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glc/onstart/onstart.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ func Run() {
// 控制器
gweb.RegisterController(method.POST, contextPath+"/v1/log/add", controller.JsonLogAddController) // 添加日志
gweb.RegisterController(method.POST, contextPath+"/v1/log/addBatch", controller.JsonLogAddBatchController) // 添加日志数组
gweb.RegisterController(method.POST, contextPath, controller.JsonLogAddBatchController) // 添加日志数组(响应简化路径如 http://host:port/glc)
gweb.RegisterController(method.POST, "/", controller.JsonLogAddBatchController) // 添加日志数组(响应简化路径如 http://host:port/)
gweb.RegisterController(method.POST, contextPath+"/v1/log/addTestData", controller.JsonLogAddTestDataController) // 添加测试日志(仅测试模式有效)
gweb.RegisterController(method.POST, contextPath+conf.LogTransferAdd, controller.JsonLogTransferAddController) // 日志数据转发添加日志
gweb.RegisterController(method.POST, contextPath+"/v1/log/search", controller.LogSearchController) // 查询日志
Expand Down

0 comments on commit 38950d1

Please sign in to comment.