Пример #1
0
 /// <summary>
 /// 图片预览
 /// </summary>
 public BaseResponse <AllImagesResult> GetAllImages(AllImagesParameter param)
 {
     if (this.ValidateData <AllImagesParameter>(param))
     {
         return(utilityManager.GetAllImages(param));
     }
     else
     {
         BaseResponse <AllImagesResult> result = new BaseResponse <AllImagesResult>();
         result.IsSuccessful = false;
         result.Code         = "001541";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }