diff --git a/app/hdl/hdl_member_center.go b/app/hdl/hdl_member_center.go index c1b88bf..56c363d 100644 --- a/app/hdl/hdl_member_center.go +++ b/app/hdl/hdl_member_center.go @@ -112,7 +112,10 @@ func MemberCenterGetBasic(c *gin.Context) { eggEnergyValue := nowPrice.Mul(decimal.NewFromFloat(eggEnergy)) // 5. 查询蛋蛋分 - now := time.Now() + // now := time.Now() + // todo 暂时使用有数据的时间 + location, _ := time.LoadLocation("Asia/Shanghai") + now := time.Date(2024, 11, 20, 16, 44, 0, 0, location) esIndexName := es2.GetLatestEffectiveIndexFromAlias(now) // 构建查询条件 boolQuery := elastic.NewBoolQuery()