/// <summary> /// 申请接受,拒绝 /// </summary> /// <remarks> /// 仅管理员 /// </remarks> public static bool ExchangeRecord_Manage(this Authorizer authorizer) { IUser currentUser = UserContext.CurrentUser; if (currentUser == null) { return(false); } if (authorizer.IsAdministrator(PointMallConfig.Instance().ApplicationId)) { return(true); } return(false); }
/// <summary> /// 申请总数 /// </summary> public static string PostCount(this OwnerDataKeys ownerDataKeys) { return(PointMallConfig.Instance().ApplicationKey + "-ThreadCount"); }