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yb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmlj
+YXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQAD
+ggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wimPQoZ+YeAEW5p5JYXMP80kWNy
+OO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKtI3lpjbi2Tc7P
+TMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ
+HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mER
+dEr/VxqHD3VILs9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5Cuf
+ReYNnyicsbkqWletNw+vHX/bvZ8=
+-----END CERTIFICATE-----

+ 316 - 0
data/mydatabase.matches.json

@@ -0,0 +1,316 @@
+[{
+  "_id": {
+    "$oid": "66e58509d3b62475be009ee8"
+  },
+  "homeTeam": {
+    "name": "澳大利亚",
+    "logo": "https://games.the-afc.com/predictor/static-assets/build/images/clubs/bl4fd8cxe6kjvjx8br82gkhnq.png?v=2.4"
+  },
+  "awayTeam": {
+    "name": "中国",
+    "logo": "https://games.the-afc.com/predictor/static-assets/build/images/clubs/bur06vhektmgozn47md9dptk3.png?v=2.4"
+  },
+  "date": {
+    "$date": "2024-11-10T00:00:00.000Z"
+  },
+  "league": "Premier League",
+  "odds": {
+    "home": 1.5,
+    "draw": 3.2,
+    "away": 2.8
+  },
+  "status": "未开始",
+  "matchDay": 1,
+  "pickedBy": 94,
+  "homeTeamScore": 0,
+  "awayTeamScore": 0,
+  "firstTeamToScore": "no_goal",
+  "__v": 0,
+  "time": "08:30",
+  "pointRewards": {
+    "whoWillWin": 0,
+    "firstTeamToScore": 0,
+    "totalGoals": 0
+  },
+  "result": {}
+},
+{
+  "_id": {
+    "$oid": "66ee9035b3c79e649026565a"
+  },
+  "homeTeam": {
+    "name": "曼联44",
+    "logo": "aaa.png"
+  },
+  "awayTeam": {
+    "name": "阿森纳",
+    "logo": "aaa.png"
+  },
+  "time": "11:11",
+  "date": {
+    "$date": "2024-08-28T00:00:00.000Z"
+  },
+  "league": "英超",
+  "odds": {
+    "home": 1,
+    "away": 2
+  },
+  "status": "已结束",
+  "homeTeamScore": 0,
+  "awayTeamScore": 0,
+  "firstTeamToScore": "away",
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f12fba7c36156405b6c70b"
+  },
+  "homeTeam": {
+    "name": "dfdf11",
+    "logo": "aaa.png"
+  },
+  "awayTeam": {
+    "name": "erer",
+    "logo": "aaa.png"
+  },
+  "time": "12:00",
+  "date": {
+    "$date": "2024-08-28T00:00:00.000Z"
+  },
+  "league": "ff",
+  "odds": {
+    "home": 3,
+    "away": 2
+  },
+  "status": "已结束",
+  "homeTeamScore": 1,
+  "awayTeamScore": 3,
+  "firstTeamToScore": "away",
+  "__v": 0,
+  "pointRewards": {
+    "whoWillWin": 12,
+    "firstTeamToScore": 13,
+    "totalGoals": 14
+  },
+  "result": {
+    "whoWillWin": "away",
+    "firstTeamToScore": "away"
+  }
+},
+{
+  "_id": {
+    "$oid": "66f5336d51277a3bbb3f8b56"
+  },
+  "homeTeam": {
+    "name": "阿森纳",
+    "logo": "/uploads/1727345489693-asenna.png"
+  },
+  "awayTeam": {
+    "name": "曼联",
+    "logo": "/uploads/1727345503185-manlian.jpeg"
+  },
+  "time": "2323",
+  "date": {
+    "$date": "2024-10-31T00:00:00.000Z"
+  },
+  "league": "英超",
+  "odds": {
+    "home": 1,
+    "away": 2
+  },
+  "status": "未开始",
+  "homeTeamScore": 0,
+  "awayTeamScore": 0,
+  "firstTeamToScore": "away",
+  "__v": 0,
+  "pointRewards": {
+    "whoWillWin": 0,
+    "firstTeamToScore": 0,
+    "totalGoals": 0
+  },
+  "result": {
+    "whoWillWin": "draw",
+    "firstTeamToScore": "no_goal"
+  }
+},
+{
+  "_id": {
+    "$oid": "66f7a94851277a3bbb3f8c55"
+  },
+  "homeTeam": {
+    "name": "阿森纳222",
+    "logo": "/uploads/1727506738661-asenna.png"
+  },
+  "awayTeam": {
+    "name": "曼联111",
+    "logo": "/uploads/1727506727200-manlian.jpeg"
+  },
+  "time": "11:00",
+  "date": {
+    "$date": "2024-09-06T00:00:00.000Z"
+  },
+  "league": "英超1",
+  "odds": {
+    "home": 2,
+    "away": 3
+  },
+  "status": "进行中",
+  "homeTeamScore": 1,
+  "awayTeamScore": 2,
+  "firstTeamToScore": "home",
+  "__v": 0,
+  "pointRewards": {
+    "whoWillWin": 0,
+    "firstTeamToScore": 0,
+    "totalGoals": 0
+  },
+  "result": {}
+},
+{
+  "_id": {
+    "$oid": "66fe6e461c5290562dfda90e"
+  },
+  "homeTeam": {
+    "name": "aaa",
+    "logo": "/uploads/1727506219945-3647.jpg_wh300.jpg"
+  },
+  "awayTeam": {
+    "name": "bbb",
+    "logo": "/uploads/1727506560908-图像2024-1-31 17.30.jpeg"
+  },
+  "time": "12",
+  "date": {
+    "$date": "2024-10-20T00:00:00.000Z"
+  },
+  "league": "aaa",
+  "status": "未开始",
+  "homeTeamScore": 0,
+  "awayTeamScore": 0,
+  "result": {
+    "whoWillWin": "away",
+    "firstTeamToScore": "home"
+  },
+  "pointRewards": {
+    "whoWillWin": 2,
+    "firstTeamToScore": 5,
+    "totalGoals": 1
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ffa85c4d01050adf6f2658"
+  },
+  "homeTeam": {
+    "name": "aaa",
+    "logo": "/uploads/1727506219945-3647.jpg_wh300.jpg"
+  },
+  "awayTeam": {
+    "name": "bbb",
+    "logo": "/uploads/1727506560908-图像2024-1-31 17.30.jpeg"
+  },
+  "time": "18:30",
+  "date": {
+    "$date": "2024-10-04T00:00:00.000Z"
+  },
+  "league": "aaa",
+  "status": "已结束",
+  "homeTeamScore": 1,
+  "awayTeamScore": 1,
+  "pointRewards": {
+    "whoWillWin": 12,
+    "firstTeamToScore": 22,
+    "totalGoals": 33
+  },
+  "__v": 0,
+  "result": {
+    "whoWillWin": "home",
+    "firstTeamToScore": "home"
+  }
+},
+{
+  "_id": {
+    "$oid": "66ffa8b64d01050adf6f2670"
+  },
+  "homeTeam": {
+    "name": "dsd",
+    "logo": ""
+  },
+  "awayTeam": {
+    "name": "fgfg",
+    "logo": ""
+  },
+  "time": "11:00",
+  "date": {
+    "$date": "2024-11-15T00:00:00.000Z"
+  },
+  "league": "fdf3",
+  "status": "未开始",
+  "homeTeamScore": 0,
+  "awayTeamScore": 0,
+  "pointRewards": {
+    "whoWillWin": 2,
+    "firstTeamToScore": 3,
+    "totalGoals": 13
+  },
+  "__v": 0,
+  "result": {}
+},
+{
+  "_id": {
+    "$oid": "66ffb6885f26e082307f8bd1"
+  },
+  "homeTeam": {
+    "name": "hhh",
+    "logo": ""
+  },
+  "awayTeam": {
+    "name": "uuu",
+    "logo": ""
+  },
+  "time": "12:00",
+  "date": {
+    "$date": "2024-11-14T00:00:00.000Z"
+  },
+  "league": "aaa",
+  "status": "未开始",
+  "homeTeamScore": null,
+  "awayTeamScore": null,
+  "pointRewards": {
+    "whoWillWin": 0,
+    "firstTeamToScore": 0,
+    "totalGoals": 0
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ffb73c67d9165c0dc20bb2"
+  },
+  "homeTeam": {
+    "name": "qqq",
+    "logo": ""
+  },
+  "awayTeam": {
+    "name": "www",
+    "logo": ""
+  },
+  "time": "11:00",
+  "date": {
+    "$date": "2024-10-30T00:00:00.000Z"
+  },
+  "league": "fdfd",
+  "status": "未开始",
+  "homeTeamScore": 1,
+  "awayTeamScore": 2,
+  "pointRewards": {
+    "whoWillWin": 1,
+    "firstTeamToScore": 2,
+    "totalGoals": 3
+  },
+  "__v": 0,
+  "result": {
+    "whoWillWin": "home",
+    "firstTeamToScore": "away"
+  }
+}]

+ 103 - 0
data/mydatabase.pointhistories.json

@@ -0,0 +1,103 @@
+[{
+  "_id": {
+    "$oid": "66ff90434d01050adf6f253a"
+  },
+  "user": {
+    "$oid": "66f39fa2e5dc5e3a0ee8e62b"
+  },
+  "points": -16,
+  "reason": "ffdfdf",
+  "createdAt": {
+    "$date": "2024-10-04T06:50:43.577Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ff90944d01050adf6f2543"
+  },
+  "user": {
+    "$oid": "66f3a44ce5dc5e3a0ee8e652"
+  },
+  "points": 12,
+  "reason": "fgfg",
+  "createdAt": {
+    "$date": "2024-10-04T06:52:04.198Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ff9ac84d01050adf6f2593"
+  },
+  "user": {
+    "$oid": "66f3f4c4e5dc5e3a0ee8e7f6"
+  },
+  "points": -13,
+  "reason": "fdfdf",
+  "createdAt": {
+    "$date": "2024-10-04T07:35:36.883Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ff9aec4d01050adf6f25ad"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "points": 999,
+  "reason": "fdfdf",
+  "createdAt": {
+    "$date": "2024-10-04T07:36:12.586Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ffc3d567d9165c0dc20ca0"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "points": 39,
+  "reason": "dfdf11 vs erer比赛预测: 正确预测比赛胜负, 正确预测首先得分球队, 正确预测总进球数",
+  "match": {
+    "$oid": "66f12fba7c36156405b6c70b"
+  },
+  "createdAt": {
+    "$date": "2024-10-04T10:30:45.437Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ffcfa567d9165c0dc20d62"
+  },
+  "user": {
+    "$oid": "66f39fa2e5dc5e3a0ee8e62b"
+  },
+  "points": 20,
+  "reason": "qqqww",
+  "match": null,
+  "createdAt": {
+    "$date": "2024-10-04T11:21:09.929Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66ffcfca67d9165c0dc20d72"
+  },
+  "user": {
+    "$oid": "66f3a44ce5dc5e3a0ee8e652"
+  },
+  "points": 12,
+  "reason": "eeerr",
+  "match": null,
+  "createdAt": {
+    "$date": "2024-10-04T11:21:46.375Z"
+  },
+  "__v": 0
+}]

+ 113 - 0
data/mydatabase.predictions.json

@@ -0,0 +1,113 @@
+[{
+  "_id": {
+    "$oid": "66f4006de5dc5e3a0ee8e88d"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "match": {
+    "$oid": "66ee9035b3c79e649026565a"
+  },
+  "whoWillWin": "away",
+  "firstTeamToScore": "away",
+  "firstTeamToScoreLogo": "aaa.png",
+  "pointsEarned": 102,
+  "isCorrect": true,
+  "__v": 0,
+  "totalGoals": 12
+},
+{
+  "_id": {
+    "$oid": "66f40070e5dc5e3a0ee8e892"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "match": {
+    "$oid": "66f12fba7c36156405b6c70b"
+  },
+  "whoWillWin": "away",
+  "firstTeamToScore": "away",
+  "firstTeamToScoreLogo": "aaa.png",
+  "pointsEarned": 39,
+  "isCorrect": true,
+  "__v": 0,
+  "totalGoals": 4,
+  "firstTeamToScoreResult": "correct",
+  "totalGoalsResult": "correct",
+  "whoWillWinResult": "correct"
+},
+{
+  "_id": {
+    "$oid": "66f4070ae5dc5e3a0ee8e92a"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "match": {
+    "$oid": "66e58509d3b62475be009ee8"
+  },
+  "whoWillWin": "home",
+  "firstTeamToScore": "home",
+  "firstTeamToScoreLogo": "https://games.the-afc.com/predictor/static-assets/build/images/clubs/bl4fd8cxe6kjvjx8br82gkhnq.png?v=2.4",
+  "pointsEarned": 0,
+  "isCorrect": true,
+  "__v": 0,
+  "totalGoals": 2
+},
+{
+  "_id": {
+    "$oid": "66f5337f51277a3bbb3f8b64"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "match": {
+    "$oid": "66f5336d51277a3bbb3f8b56"
+  },
+  "whoWillWin": "home",
+  "firstTeamToScore": "home",
+  "firstTeamToScoreLogo": "/uploads/1727345489693-asenna.png",
+  "pointsEarned": 0,
+  "isCorrect": false,
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f7b48451277a3bbb3f8d7d"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "match": {
+    "$oid": "66f7a94851277a3bbb3f8c55"
+  },
+  "whoWillWin": "home",
+  "firstTeamToScore": "no_goal",
+  "firstTeamToScoreLogo": "/images/no_goal_logo.png",
+  "pointsEarned": 0,
+  "isCorrect": false,
+  "__v": 0,
+  "totalGoals": 2
+},
+{
+  "_id": {
+    "$oid": "66ffb61247daf23266c22e51"
+  },
+  "user": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "match": {
+    "$oid": "66ffa85c4d01050adf6f2658"
+  },
+  "whoWillWin": "home",
+  "whoWillWinResult": "correct",
+  "firstTeamToScore": "home",
+  "firstTeamToScoreResult": "correct",
+  "firstTeamToScoreLogo": "/uploads/1727506219945-3647.jpg_wh300.jpg",
+  "totalGoalsResult": "incorrect",
+  "pointsEarned": 34,
+  "isCorrect": true,
+  "__v": 0,
+  "totalGoals": 3
+}]

+ 40 - 0
data/mydatabase.teams.json

@@ -0,0 +1,40 @@
+[{
+  "_id": {
+    "$oid": "66f556cd811226bf7bf092c9"
+  },
+  "name": "sdsd",
+  "__v": 0,
+  "logo": "/uploads/1727501594542-9484.png_300.png"
+},
+{
+  "_id": {
+    "$oid": "66f556f5811226bf7bf0930e"
+  },
+  "name": "aaa",
+  "__v": 0,
+  "logo": "/uploads/1727506219945-3647.jpg_wh300.jpg"
+},
+{
+  "_id": {
+    "$oid": "66f7a759811226bf7bf1c130"
+  },
+  "name": "bbb",
+  "__v": 0,
+  "logo": "/uploads/1727506560908-图像2024-1-31 17.30.jpeg"
+},
+{
+  "_id": {
+    "$oid": "66f7a927811226bf7bf1c283"
+  },
+  "name": "曼联",
+  "__v": 0,
+  "logo": "/uploads/1727506727200-manlian.jpeg"
+},
+{
+  "_id": {
+    "$oid": "66f7a932811226bf7bf1c290"
+  },
+  "name": "阿森纳",
+  "__v": 0,
+  "logo": "/uploads/1727506738661-asenna.png"
+}]

+ 109 - 0
data/mydatabase.users.json

@@ -0,0 +1,109 @@
+[{
+  "_id": {
+    "$oid": "66f29038d4edbfe151d2abcc"
+  },
+  "username": "admin12212",
+  "password": "$2a$10$XJf7xavdmTf1S3V5zYBZSuZ6nfynFUoOqek11WZCbxUFeeKzmLR/G",
+  "points": 1222,
+  "role": "admin",
+  "__v": 0,
+  "updatedAt": {
+    "$date": "2024-10-04T06:51:52.658Z"
+  }
+},
+{
+  "_id": {
+    "$oid": "66f39fa2e5dc5e3a0ee8e62b"
+  },
+  "username": "admin2",
+  "password": "$2a$10$JRliM/0KZ1Wtz949WP3WgeQUbTPMUlZWtmKFrDV/VDUOA72El6RSS",
+  "points": 4,
+  "role": "user",
+  "createdAt": {
+    "$date": "2024-09-25T05:29:06.250Z"
+  },
+  "updatedAt": {
+    "$date": "2024-10-04T11:21:09.991Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f3a252e5dc5e3a0ee8e638"
+  },
+  "username": "admin123",
+  "password": "$2a$10$OUFyLIocLya00M319joimuW8OHhZYGZMRijOSJ5erxgH9YO7R9TOa",
+  "points": 0,
+  "role": "user",
+  "createdAt": {
+    "$date": "2024-09-25T05:40:34.435Z"
+  },
+  "updatedAt": {
+    "$date": "2024-09-25T05:40:34.435Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f3a44ce5dc5e3a0ee8e652"
+  },
+  "username": "admin222",
+  "password": "$2a$10$gbWQem7uAF.wVBpADwizCesWZVgslw05jofbk79EkfYQ6bahHwQHy",
+  "points": 24,
+  "role": "user",
+  "createdAt": {
+    "$date": "2024-09-25T05:49:00.779Z"
+  },
+  "updatedAt": {
+    "$date": "2024-10-04T11:21:46.377Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f3ef40e5dc5e3a0ee8e7ac"
+  },
+  "username": "13212341000",
+  "password": "$2a$10$xAy85HBkIBHQ9r4coW4e9.Uhtb/WCkFrsE7CmqXAyzoGIwymzycWu",
+  "points": 1038,
+  "role": "admin",
+  "createdAt": {
+    "$date": "2024-09-25T11:08:48.068Z"
+  },
+  "updatedAt": {
+    "$date": "2024-10-04T10:33:56.063Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f3f4c4e5dc5e3a0ee8e7f6"
+  },
+  "username": "admin",
+  "password": "$2a$10$Moe5AkaUGPr4nnlv1SHpFukunP120LI6bD/rfEEykMnFihRw551/q",
+  "points": 12431,
+  "role": "admin",
+  "createdAt": {
+    "$date": "2024-09-25T11:32:20.874Z"
+  },
+  "updatedAt": {
+    "$date": "2024-10-04T07:35:36.887Z"
+  },
+  "__v": 0
+},
+{
+  "_id": {
+    "$oid": "66f3f721e5dc5e3a0ee8e81a"
+  },
+  "username": "admin111",
+  "password": "$2a$10$49Ps7GAC7d1zJem8ISDd5uDJqu2mIIvq8aJ4.JcFGsBaLim68NkrG",
+  "points": 13222,
+  "role": "user",
+  "createdAt": {
+    "$date": "2024-09-25T11:42:25.398Z"
+  },
+  "updatedAt": {
+    "$date": "2024-10-04T06:15:03.359Z"
+  },
+  "__v": 0
+}]

+ 1 - 1
docker-compose.prod.yml

@@ -28,7 +28,7 @@ services:
     image: nginx:alpine
     ports:
       - "8080:80"
-      
+
     volumes:
       - ./nginx:/etc/nginx/conf.d
       - ./logs/nginx:/var/log/nginx

+ 0 - 0
logs/nginx/match.dzhhzy.com.access.log