| | |
| | | using WebAPI.Models; |
| | | namespace WebAPI.Controllers.BaseSet |
| | | { |
| | | [AllowAnonymous] |
| | | public class Xt_grdAlignment_WMESController : ApiController |
| | | { |
| | | private json objJsonResult = new json(); |
| | |
| | | #region 报错信息 查询 |
| | | [Route("Xt_grdAlignment_WMES/SelectMessageError")] |
| | | [HttpGet] |
| | | [AllowAnonymous] |
| | | |
| | | public object SelectMessageError(string ErrorCode) |
| | | { |
| | | try |
| | |
| | | } |
| | | |
| | | // 获取项目根目录 |
| | | string path = HttpContext.Current.Server.MapPath($"~/LanguagePack"); ; |
| | | string path = HttpContext.Current.Server.MapPath($"~/LanguagePack"); |
| | | string lang; |
| | | bool langSuccess = LanguageDictionary.TryGetValue(language, out lang); |
| | | if(langSuccess == false) |