示例#1
0
        public async Task <string> SendRequestToExecute(string request)
        {
            try
            {
                var response = await _businessInterface.ExecuteAsync(request);

                return(response);
            }
            catch (Exception e)
            {
                _log.Error($"{nameof(SendRequestToExecute)}异常:{e},请求串:{request}");
                //todo 返回需要报警的命令
                return(null);
            }
        }