|
@@ -980,10 +980,10 @@ module.exports = class UserController extends shopController {
|
|
|
const prizes = [
|
|
|
{ reward: 6, weight: 4 },
|
|
|
{ reward: 1, weight: 1 },
|
|
|
- { reward: 10, weight: 30 },
|
|
|
- { reward: 8, weight: 5 },
|
|
|
- { reward: 30, weight: 10 },
|
|
|
- { reward: 20, weight: 50 }
|
|
|
+ { reward: 10, weight: 50 },
|
|
|
+ { reward: 8, weight: 10 },
|
|
|
+ { reward: 30, weight: 5 },
|
|
|
+ { reward: 20, weight: 30 }
|
|
|
];
|
|
|
const prizeAward = await that.lottery(prizes);
|
|
|
// 2023/11/21 发放红包奖励
|