12345678910111213141516171819202122232425 |
- package controllers
- import (
- "github.com/astaxie/beego"
- )
- //测试
- type TestController struct {
- beego.Controller
- }
- func init() {
- }
- // 这是测试接口
- // @Summary 这是一个测试接口
- // @Description 这是一个测试接口
- // @Tags 测试
- // @Accept x-www-form-urlencoded
- // @Produce json
- // @router /test [get]
- func (c *TestController) NewAlarmInfoList() {
- c.ServeJSON()
- return
- }
|