Browse Source

update

master
shenjiachi 14 hours ago
parent
commit
0549fbd83f
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      app/hdl/hdl_member_center.go

+ 4
- 1
app/hdl/hdl_member_center.go View File

@@ -112,7 +112,10 @@ func MemberCenterGetBasic(c *gin.Context) {
eggEnergyValue := nowPrice.Mul(decimal.NewFromFloat(eggEnergy)) eggEnergyValue := nowPrice.Mul(decimal.NewFromFloat(eggEnergy))


// 5. 查询蛋蛋分 // 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) esIndexName := es2.GetLatestEffectiveIndexFromAlias(now)
// 构建查询条件 // 构建查询条件
boolQuery := elastic.NewBoolQuery() boolQuery := elastic.NewBoolQuery()


Loading…
Cancel
Save