using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using System.Web; namespace 落地页测试代码 { public class FileHelper { #region 检测指定目录是否存在 /// <summary> /// 检测指定目录是否存在 /// </summar…
using System; using System.Diagnostics; using System.IO; using System.Text; using Shared; namespace PublishPart.Helpers { public static class FileHelper { #region Methods /// <summary> /// 向文本文件的尾部追加内容 /// </summary> /// <param name="f…
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows.Forms; namespace DocDecrypt.Common { public class FileHelper { private static readonly log4net.ILog _logger = log4net.LogManager.GetLogger("FileH…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Collections; using System.IO; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using NPOI.HSSF.User…
处理请求 class TestController extends Controller { public function init() { if(!YII_ENV_DEV){ throw new ExitException(201,'can not access not in dev mode'); } } /** * */ public function actionClientip() { if(YII_ENV_DEV){ $request = Yii::$app->getRequest…