Slide 24
Slide 24 text
Redis data structure
field = "customer"
KEY =
value =
field = "acc"
value =
field = "rank"
value =
{
"sex": 1,
"birth": [1964, 1],
"prefecture": 27,
...
}
{
"": [
{"item": "", "time": 1665975527},
{"item": "", "time": 1666000534}
],
...
}
{
"": {
"purcHist": [
{"amount": 7251, "item": "", "time": 1666003823, "type":
3679},
{"amount": 2709, "item": "", "time": 1666144923, "type":
3679},
],
"repeat": 103428,
"rank": 129283,
"lastPurc": 1666144923,
"pCount": 1,
"pAmount": 9960,
"tCount": 1,
"tAmount": 9960
},
...
"mTCount": 247,
"coupon": [
"Nzg1ZDRmYTAzOGRhZjRlMmRkNTNiMTk4YjA3"
]
}