dengjunjie
2024-12-13 ecee1931031a28ec734eff9aca5b2cdcd96dc49a
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs
@@ -8,6 +8,7 @@
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
using WIDESEA_Core.BaseServices;
namespace WIDESEA_Core.BaseController
@@ -40,13 +41,13 @@
            return Json(InvokeService("AddData", new object[] { options }));
        }
        [HttpPost, Route("Add")]
        [HttpPost, Route("Add"), MethodParamsValidate]
        public virtual ActionResult Add([FromBody] SaveModel options)
        {
            return Json(InvokeService("AddData", new object[] { options }));
        }
        [HttpPost, Route("Update")]
        [HttpPost, Route("Update"), MethodParamsValidate]
        public virtual ActionResult Update([FromBody] SaveModel options)
        {
            return Json(InvokeService("UpdateData", new object[] { options }));