15 lines
217 B
Go
15 lines
217 B
Go
|
package http
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
|
||
|
bm "go-common/library/net/http/blademaster"
|
||
|
)
|
||
|
|
||
|
func reddot(c *bm.Context) {
|
||
|
res := map[string]interface{}{
|
||
|
"data": operatorSvc.Reddot(time.Now()),
|
||
|
}
|
||
|
returnDataJSON(c, res, nil)
|
||
|
}
|