Esempio n. 1
0
        /// <summary>
        /// 删除文件
        /// </summary>
        /// <param name="requestObject"></param>
        /// <returns></returns>
        public string FileDel(ApiEncryptedRequestBean requestObject)
        {
            var decrptStr = EncryptHelper.AesDecrpt(requestObject.reqData);
            var request   = JsonConvert.DeserializeObject <ApiRequestEntityBean>(decrptStr);

            var result = _fileAppService.FileDel(request);

            return(EncryptHelper.AesEncrypt(JsonConvert.SerializeObject(result)));
        }