|
|
@@ -3,9 +3,10 @@ package redis
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
"fmt"
|
|
|
+ "sportfitness/base/assembly/heartRate/model"
|
|
|
+
|
|
|
"github.com/go-redis/redis/v8"
|
|
|
"github.com/sirupsen/logrus"
|
|
|
- "sportfitness/base/assembly/heartRate/model"
|
|
|
)
|
|
|
|
|
|
const hrStoreR4Key = prefix + ":hr_store_r4"
|
|
|
@@ -18,7 +19,7 @@ func HrStoreR4(list []model.HrCourseDetail) {
|
|
|
panic(err2)
|
|
|
}
|
|
|
|
|
|
- pipeliner.Set(ctx, fmt.Sprintf("%s:%d", hrStoreR4Key, one.HcId), data, 0)
|
|
|
+ pipeliner.Set(ctx, fmt.Sprintf("%s:%d", hrStoreR4Key, one.CrID), data, 0)
|
|
|
}
|
|
|
return nil
|
|
|
})
|