operator.go 217 B

1234567891011121314
  1. package http
  2. import (
  3. "time"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func reddot(c *bm.Context) {
  7. res := map[string]interface{}{
  8. "data": operatorSvc.Reddot(time.Now()),
  9. }
  10. returnDataJSON(c, res, nil)
  11. }