1212
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IUnitUserAccService
|
||||
{
|
||||
Task<long> GetUserAccInfo(string userId, string accType);
|
||||
|
||||
#region 账户操作
|
||||
|
||||
Task<unit_user_acc> GetUserAccInfo(string userId);
|
||||
|
||||
Task<bool> UpdateUserAcc(string userId, int type, string accType, long count, string name = "",
|
||||
string remark = "");
|
||||
|
||||
Task<bool> UpdateUserAccBath(string userId, int type, string accType, long count, string name = "",
|
||||
string remark = "");
|
||||
|
||||
Task<unit_user_copper> GetUserCopperInfo(string userId);
|
||||
Task<bool> UpdateUserCopper(string userId, int type, long count, string remark = "");
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -2,6 +2,39 @@
|
||||
|
||||
public interface IUnitUserAttrService
|
||||
{
|
||||
#region 个人属性
|
||||
|
||||
Task<UserAttrModel> GetUserAttrModel(string userId);
|
||||
Task<unit_user_attr> GetUserAttr(string userId);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 体力操作
|
||||
|
||||
Task<unit_user_blood> GetUserBlood(string userId);
|
||||
Task<bool> UpdateUserBlood(string userId, int op, int count, bool mustUp = false);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 经验操作
|
||||
|
||||
Task<unit_user_exp> GetUserExp(string userId);
|
||||
Task<bool> UpdateUserExp(string userId, long exp, int op = 1);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 士气操作
|
||||
|
||||
Task<unit_user_morale> GetUserMorale(string userId);
|
||||
Task<bool> UpdateUserMorale(string userId, int op, int count);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 活力
|
||||
|
||||
Task<unit_user_vigour> GetUserVigourInfo(string userId);
|
||||
Task<bool> UpdateUserVigour(string userId, int op, decimal count, string UpTime = "");
|
||||
Task<bool> UpdateUserUpVigour(string userId, decimal count);
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user