Beispiel #1
0
 /// <summary>
 /// 删除图片
 /// </summary>
 /// <param name="param"></param>
 /// <returns></returns>
 public BaseResponse <bool> DeleteImage(DeleteImageParameter param)
 {
     if (this.ValidateData <DeleteImageParameter>(param))
     {
         return(utilityManager.DeleteImage(param));
     }
     else
     {
         BaseResponse <bool> result = new BaseResponse <bool>();
         result.IsSuccessful = false;
         result.Code         = "001561";
         LogHelper.WriteLog(string.Format("未通过安全验证:({0}:{1}", result.Code, result.Reason));
         return(result);
     }
 }