diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/LuckyService.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/LuckyService.cs index 944ff944..778d3132 100644 --- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/LuckyService.cs +++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/LuckyService.cs @@ -18,7 +18,7 @@ namespace Yi.Framework.Bbs.Application.Services.Integral [Authorize] public async Task PostWheel() { - int[] values=new int[10] { 0,10,30,50,80,100,150,200,300,666}; + int[] values=new int[10] { 0,10,30,50,60,80,90,100,200,666}; var index = GetWheelIndex(); var value = values[index]-50; @@ -30,7 +30,7 @@ namespace Yi.Framework.Bbs.Application.Services.Integral private int GetWheelIndex() { - int[] probabilities = { 10, 15, 10, 20, 10, 5, 5, 3, 2, 1 }; + int[] probabilities = { 30, 40, 30, 20, 5, 3, 2, 2, 2, 1 }; int total = 0; foreach (var prob in probabilities) diff --git a/Yi.Bbs.Vue3/src/views/lucky/Index.vue b/Yi.Bbs.Vue3/src/views/lucky/Index.vue index 42b4daa3..524cc447 100644 --- a/Yi.Bbs.Vue3/src/views/lucky/Index.vue +++ b/Yi.Bbs.Vue3/src/views/lucky/Index.vue @@ -32,11 +32,11 @@ const prizes = [ { fonts: [{ text: '10', top: '10%' }], background: '#b8c5f2' }, { fonts: [{ text: '30', top: '10%' }], background: '#e9e8fe' }, { fonts: [{ text: '50', top: '10%' }], background: '#b8c5f2' }, - { fonts: [{ text: '80', top: '10%' }], background: '#e9e8fe' }, + { fonts: [{ text: '60', top: '10%' }], background: '#e9e8fe' }, + { fonts: [{ text: '80', top: '10%' }], background: '#b8c5f2' }, + { fonts: [{ text: '90', top: '10%' }], background: '#e9e8fe' }, { fonts: [{ text: '100', top: '10%' }], background: '#b8c5f2' }, - { fonts: [{ text: '150', top: '10%' }], background: '#e9e8fe' }, - { fonts: [{ text: '200', top: '10%' }], background: '#b8c5f2' }, - { fonts: [{ text: '300', top: '10%' }], background: '#e9e8fe' }, + { fonts: [{ text: '200', top: '10%' }], background: '#e9e8fe' }, { fonts: [{ text: '666', top: '10%' }], background: '#FAD400' } ]; const buttons = [{