diff --git a/FactorySystemApi/Controllers/FormulaController.cs b/FactorySystemApi/Controllers/FormulaController.cs
index e7d1187..2e2e345 100644
--- a/FactorySystemApi/Controllers/FormulaController.cs
+++ b/FactorySystemApi/Controllers/FormulaController.cs
@@ -11,6 +11,7 @@ using System.Reflection;
using System.Web.Http;
using FactorySystemModel.EnumModel;
using FactorySystemModel.RequestModel;
+using FactorySystemApi.Plm_Formula;
namespace FactorySystemApi.Controllers
{
@@ -248,6 +249,135 @@ namespace FactorySystemApi.Controllers
}, apiResult, Request, null);
}
+ ///
+ /// 获取用户是否具备申请查询配方权限
+ ///
+ ///
+ [HttpPost]
+ public ApiResult GetApplyBomPower()
+ {
+ ApiResult apiResult = new ApiResult();
+ return ExceptionHelper.TryReturnException(() =>
+ {
+ bool hasPower = false;
+ ApiAuthInfo user = Request.Properties["token"] as ApiAuthInfo;
+
+ List