田爽 hai 1 ano
pai
achega
f3b05782c7
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      src/Hotline.Api/Controllers/OrderController.cs

+ 14 - 0
src/Hotline.Api/Controllers/OrderController.cs

@@ -2036,5 +2036,19 @@ public class OrderController : BaseController
 		return await _orderWrodRepository.Queryable()
 			.FirstAsync(x => x.Id == id);
 	}
+
+	/// <summary>
+	/// 获取工单词库基本信息
+	/// </summary>
+	/// <returns></returns>
+	[HttpGet("order_word/base")]
+	public async Task<object> Base()
+	{
+		var rsp = new
+		{
+			ProhibitedClassify = await _systemDomainService.GetSysDicDataByCodeAsync(SysDicTypeConsts.ProhibitedClassify),
+		};
+		return rsp;
+	}
 	#endregion
 }