diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj
index f628cf0c..47d9cd63 100644
--- a/Bootstrap.Admin/Bootstrap.Admin.csproj
+++ b/Bootstrap.Admin/Bootstrap.Admin.csproj
@@ -184,7 +184,7 @@
-
+
@@ -255,7 +255,7 @@
-
+
@@ -268,7 +268,7 @@
Global.asax
-
+
@@ -316,7 +316,7 @@
-
+
diff --git a/Bootstrap.Admin/Controllers/AdminController.cs b/Bootstrap.Admin/Controllers/AdminController.cs
index 260cfe84..e4569670 100644
--- a/Bootstrap.Admin/Controllers/AdminController.cs
+++ b/Bootstrap.Admin/Controllers/AdminController.cs
@@ -114,9 +114,9 @@ namespace Bootstrap.Admin.Controllers
///
///
///
- public ActionResult Infos()
+ public ActionResult Profiles()
{
- var v = new InfosModel("~/Admin/Infos");
+ var v = new ProfilesModel("~/Admin/Profiles");
return View(v);
}
///
diff --git a/Bootstrap.Admin/Controllers/InfosController.cs b/Bootstrap.Admin/Controllers/ProfilesController.cs
similarity index 94%
rename from Bootstrap.Admin/Controllers/InfosController.cs
rename to Bootstrap.Admin/Controllers/ProfilesController.cs
index 6eed095b..278af0e2 100644
--- a/Bootstrap.Admin/Controllers/InfosController.cs
+++ b/Bootstrap.Admin/Controllers/ProfilesController.cs
@@ -9,7 +9,7 @@ using System.Web.Http;
namespace Bootstrap.Admin.Controllers
{
- public class InfosController : ApiController
+ public class ProfilesController : ApiController
{
[HttpPost]
public string Post()
diff --git a/Bootstrap.Admin/Models/InfosModel.cs b/Bootstrap.Admin/Models/ProfilesModel.cs
similarity index 81%
rename from Bootstrap.Admin/Models/InfosModel.cs
rename to Bootstrap.Admin/Models/ProfilesModel.cs
index 9cab72ce..d0e2619c 100644
--- a/Bootstrap.Admin/Models/InfosModel.cs
+++ b/Bootstrap.Admin/Models/ProfilesModel.cs
@@ -6,7 +6,7 @@ namespace Bootstrap.Admin.Models
///
///
///
- public class InfosModel : NavigatorBarModel
+ public class ProfilesModel : NavigatorBarModel
{
///
/// 获得/设置 头像文件大小
@@ -16,7 +16,7 @@ namespace Bootstrap.Admin.Models
///
///
///
- public InfosModel(string url) : base(url)
+ public ProfilesModel(string url) : base(url)
{
var fileName = HttpContext.Current.Server.MapPath(Icon);
if (File.Exists(fileName))
diff --git a/Bootstrap.Admin/Scripts/Longbow.Common.js b/Bootstrap.Admin/Scripts/Longbow.Common.js
index f3650f9f..3e5f8fa7 100644
--- a/Bootstrap.Admin/Scripts/Longbow.Common.js
+++ b/Bootstrap.Admin/Scripts/Longbow.Common.js
@@ -202,9 +202,9 @@
url: '../api/Dicts/'
};
- // Infos
- Infos = {
- url: '../api/Infos/'
+ // Profiles
+ Profiles = {
+ url: '../api/Profiles/'
};
// Settings
diff --git a/Bootstrap.Admin/Scripts/Infos.js b/Bootstrap.Admin/Scripts/Profiles.js
similarity index 94%
rename from Bootstrap.Admin/Scripts/Infos.js
rename to Bootstrap.Admin/Scripts/Profiles.js
index e4545dc2..5c86f294 100644
--- a/Bootstrap.Admin/Scripts/Infos.js
+++ b/Bootstrap.Admin/Scripts/Profiles.js
@@ -2,7 +2,7 @@
var $headerIcon = $('#headerIcon');
var preIcon = $headerIcon.attr('src');
$('#fileIcon').fileinput({
- uploadUrl: Infos.url,
+ uploadUrl: Profiles.url,
language: 'zh',
maxFileSize: 5000,
allowedFileExtensions: ['jpg', 'png', 'bmp', 'gif', 'jpeg'],
@@ -47,7 +47,7 @@
});
var bsa = new BootstrapAdmin({
- url: '../api/Infos',
+ url: Profiles.url,
bootstrapTable: null,
dataEntity: new DataEntity({
map: {
diff --git a/Bootstrap.Admin/Views/Admin/Infos.cshtml b/Bootstrap.Admin/Views/Admin/Profiles.cshtml
similarity index 88%
rename from Bootstrap.Admin/Views/Admin/Infos.cshtml
rename to Bootstrap.Admin/Views/Admin/Profiles.cshtml
index fe089427..528339f7 100644
--- a/Bootstrap.Admin/Views/Admin/Infos.cshtml
+++ b/Bootstrap.Admin/Views/Admin/Profiles.cshtml
@@ -1,4 +1,4 @@
-@model InfosModel
+@model ProfilesModel
@{
ViewBag.Title = "个人中心";
Layout = "~/Views/Shared/_Admin.cshtml";
@@ -10,7 +10,7 @@
-
+
}
@section css {
@@ -33,7 +33,7 @@
@@ -57,7 +57,7 @@
diff --git a/Bootstrap.Admin/Views/Shared/Header.cshtml b/Bootstrap.Admin/Views/Shared/Header.cshtml
index 834e984d..f47cb46c 100644
--- a/Bootstrap.Admin/Views/Shared/Header.cshtml
+++ b/Bootstrap.Admin/Views/Shared/Header.cshtml
@@ -102,7 +102,7 @@