From af0cfb03cda2679b4e89bf42ebea3d06e22ec4c0 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 11 二月 2025 13:39:08 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/IStation/shys/ChEqCalc.V1.3 --- WebApi/Api/ApiResultCode.cs | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/WebApi/Api/ApiResultCode.cs b/WebApi/Api/ApiResultCode.cs new file mode 100644 index 0000000..be87a10 --- /dev/null +++ b/WebApi/Api/ApiResultCode.cs @@ -0,0 +1,54 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace IStation.Dto +{ + + /// <summary> + /// 鎵ц缁撴灉鐨勭姸鎬佹灇涓� + /// </summary> + public enum ApiResultCode + { + /// <summary> + /// 鎴愬姛 + /// </summary> + Success = 0, + + /// <summary> + /// 闇�瑕佺敤鎴风‘璁� + /// </summary> + Confirm = -1, + + /// <summary> + /// 涓�鑸�ф彁绀� + /// </summary> + Prompt = -2, + + /// <summary> + /// 鎶ヨ + /// </summary> + Alert = -3, + + /// <summary> + /// 澶辫触 + /// </summary> + Error = -4, + + /// <summary> + /// 瓒呮椂 + /// </summary> + TimeOut = -5, + /// <summary> + /// Token澶辫触 + /// </summary> + TokenFail = -6, + /// <summary> + /// Token澶辨晥 + /// </summary> + TokenExpire = -7, + } + +} -- Gitblit v1.9.3