|
@@ -45,6 +45,7 @@ func Router() {
|
|
device.GET("/open/notify/", api.OpenNotify)
|
|
device.GET("/open/notify/", api.OpenNotify)
|
|
device.GET("/:mac/stop/trans/", api.StopTrans)
|
|
device.GET("/:mac/stop/trans/", api.StopTrans)
|
|
device.GET("/:mac/stop/collect/", api.StopCollect)
|
|
device.GET("/:mac/stop/collect/", api.StopCollect)
|
|
|
|
+ device.GET("/:mac/disconnect/", api.Disconnect)
|
|
//
|
|
//
|
|
//record := v1.Group("/record")
|
|
//record := v1.Group("/record")
|
|
//record.POST("/create", api.GetRecord().SaveRecord)
|
|
//record.POST("/create", api.GetRecord().SaveRecord)
|