|
|
@@ -137,7 +137,7 @@ func QueryHistoryDatas(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
if market == nil {
|
|
|
- logger.GetLogger().Errorf("QueryHistoryDatas failed: %s", err.Error())
|
|
|
+ logger.GetLogger().Error("QueryHistoryDatas failed: not found goodscode")
|
|
|
appG.Response(http.StatusBadRequest, e.ERROR_GET_MARKET_FAILED, nil)
|
|
|
return
|
|
|
}
|
|
|
@@ -232,7 +232,7 @@ func QueryHistoryDatas(c *gin.Context) {
|
|
|
}
|
|
|
|
|
|
// 查询成功
|
|
|
- logger.GetLogger().Debugln("QueryHistoryDatas successed, rows:%v", len(rst))
|
|
|
+ logger.GetLogger().Debugln("QueryHistoryDatas successed, rows:", len(rst))
|
|
|
appG.Response(http.StatusOK, e.SUCCESS, rst)
|
|
|
}
|
|
|
|
|
|
@@ -422,7 +422,7 @@ func QueryTSData(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
if market == nil {
|
|
|
- logger.GetLogger().Errorf("QueryTSData failed: %s", err.Error())
|
|
|
+ logger.GetLogger().Error("QueryTSData failed: not found goodscode")
|
|
|
appG.Response(http.StatusBadRequest, e.ERROR_GET_MARKET_FAILED, nil)
|
|
|
return
|
|
|
}
|