Exemple #1
0
        /// <summary>
        /// 获取客户端数据
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public async Task <NarutoResult> GetClient(string id)
        {
            if (id.IsNullOfEmpty())
            {
                return(new NarutoFailResult($"{nameof(id)}值不能为空"));
            }
            var res = await clientStorage.GetClient(id);

            return(new NarutoSuccessResult("操作成功", res));
        }