Ejemplo n.º 1
0
        /// <summary>
        /// 执行
        /// </summary>
        /// <returns>返回执行结果</returns>
        public override object Do()
        {
            WeiXin weixin   = new WeiXin();
            string savePath = BP.Sys.SystemConfig.PathOfDataUser + "UserIcon";
            bool   result   = weixin.DownLoadUserIcon(savePath);

            if (result == true)
            {
                return("执行成功...");
            }
            else
            {
                return("执行失败...");
            }
        }