改太多

This commit is contained in:
minom committed 2026-10-30 17:47:01 +08:00
1 parent be5352efed
commit 1cb2a7a35e
48 files changed
+17970 -485

No files matched your search

+10 -1
View File
@@ -7,6 +7,7 @@ using System.Web.Http;
using PagedList;
using Newtonsoft.Json;
using System.Collections;
using System.Windows.Interop;
// api/adminUser
@@ -62,7 +63,15 @@ public class adminUserController : ApiController
}
}
[HttpPost]
[Route("api/adminUser/GetMyDefaultPage")]
public IHttpActionResult GetMyDefaultPage([FromBody] Model.ViewModel.admin q)
{
var item = _db.default_page.Where(o => o.u_id == q.u_id).FirstOrDefault();
if (item == null) throw new HttpResponseException(HttpStatusCode.NotFound);
return Ok(new {result="ok",data=item});
}
[HttpGet]
[Route("api/adminUser/count")]