diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/BbsUser/BbsUserGetListOutputDto.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/BbsUser/BbsUserGetListOutputDto.cs
index 7197366a..4abd784f 100644
--- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/BbsUser/BbsUserGetListOutputDto.cs
+++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/BbsUser/BbsUserGetListOutputDto.cs
@@ -19,5 +19,16 @@ namespace Yi.Framework.Bbs.Application.Contracts.Dtos.BbsUser
/// 用户限制
///
public UserLimitEnum UserLimit { get; set; }
+
+ ///
+ /// 钱钱
+ ///
+ public decimal Money { get; set; }
+
+
+ ///
+ /// 经验
+ ///
+ public long Experience { get; set; }
}
}
diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs
index c24de344..d8f8684a 100644
--- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs
+++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Forum/DiscussService.cs
@@ -71,7 +71,9 @@ namespace Yi.Framework.Bbs.Application.Services.Forum
Icon = user.Icon,
Id = user.Id,
Level = info.Level,
- UserLimit = info.UserLimit
+ UserLimit = info.UserLimit,
+ Money=info.Money,
+ Experience=info.Experience
},
Plate = new Contracts.Dtos.Plate.PlateGetOutputDto()
{
@@ -128,7 +130,9 @@ namespace Yi.Framework.Bbs.Application.Services.Forum
Nick = user.Nick,
Icon = user.Icon,
Level = info.Level,
- UserLimit = info.UserLimit
+ UserLimit = info.UserLimit,
+ Money = info.Money,
+ Experience = info.Experience
}
}, true)
@@ -169,7 +173,9 @@ namespace Yi.Framework.Bbs.Application.Services.Forum
Nick = user.Nick,
UserName = user.UserName,
Remark = user.Remark,
- UserLimit = info.UserLimit
+ UserLimit = info.UserLimit,
+ Money = info.Money,
+ Experience = info.Experience
}
}, true)
diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/IntegralService.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/IntegralService.cs
index 768506d2..b8c23ed2 100644
--- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/IntegralService.cs
+++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application/Services/Integral/IntegralService.cs
@@ -3,18 +3,33 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
using Volo.Abp.Application.Services;
+using Volo.Abp.Users;
using Yi.Framework.Bbs.Domain.Managers;
namespace Yi.Framework.Bbs.Application.Services.Integral
{
- public class IntegralService:ApplicationService
+ public class IntegralService : ApplicationService
{
private IntegralManager _integralManager;
- public IntegralService(IntegralManager integralManager)
+ private ICurrentUser _currentUser;
+ public IntegralService(IntegralManager integralManager, ICurrentUser currentUser)
{
- _integralManager= integralManager;
+ _integralManager = integralManager;
+ _currentUser = currentUser;
}
+
+ ///
+ /// 签到
+ ///
+ ///
+ [Authorize]
+ public async Task