diff --git a/business/jxutils/eventhub/eventhub.go b/business/jxutils/eventhub/eventhub.go index 4b3e02991..c34d323c3 100644 --- a/business/jxutils/eventhub/eventhub.go +++ b/business/jxutils/eventhub/eventhub.go @@ -223,6 +223,7 @@ func (e *EventHub) GetEvent(eventCategory string, eventTypeList []string, criter } } } + globals.SugarLogger.Debugf("GetEvent pollingDuration:%d seconds", pollingDuration/time.Second) timer := time.NewTimer(pollingDuration) select { case tmpEvent, ok := <-notifyChan: diff --git a/controllers/sys.go b/controllers/sys.go index 49ec6a78f..a74b792ee 100644 --- a/controllers/sys.go +++ b/controllers/sys.go @@ -16,7 +16,7 @@ type SysController struct { // @Title 得到京西门店信息 // @Description 得到京西门店信息,如下条件之间是与的关系 // @Param accessKey query string true "假token" -// @Param oldToken query string true "之前的token" +// @Param oldToken query string false "之前的token" // @Param waitSecond query int false "等待秒数" // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult