Browse Source

update

master
shenjiachi 1 week ago
parent
commit
9babc21fe2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/hdl/hdl_demo.go

+ 1
- 1
app/hdl/hdl_demo.go View File

@@ -23,7 +23,7 @@ import (
// @Param req body interface{} true "任意参数"
// @Success 200 {object} map[string]interface{} "返回任意参数"
// @Failure 400 {object} md.Response "具体错误"
// @Router /api/v1/test [POST]
// @Router /api/v1/test [GET]
func Demo(c *gin.Context) {
var args interface{}
if c.Request.Method == "GET" {


Loading…
Cancel
Save