示例#1
0
        /// <summary>
        /// 获取门店
        /// </summary>
        /// <returns></returns>
        public Response <IEnumerable <WMSConfig> > GetWMSCustomerConfig()
        {
            Response <IEnumerable <WMSConfig> > response = new Response <IEnumerable <WMSConfig> >();

            try
            {
                ConfigAccessor accessor = new ConfigAccessor();
                response.Result    = accessor.GetWMSCustomerConfig();
                response.IsSuccess = true;
            }
            catch (Exception ex)
            {
                LogError(ex);
                response.IsSuccess = false;
                response.ErrorCode = ErrorCode.Technical;
            }

            return(response);
        }