Ejemplo n.º 1
0
        public void SaveWxImage(string fileName, string filePath, string thumbPath, string fileSize, string fileExt, string mediaId, string mediaUrl)
        {
            WxImageService  wxImageService  = new WxImageService();
            WxImageInputDto wxImageInputDto = new WxImageInputDto();

            wxImageInputDto.FileName  = fileName;
            wxImageInputDto.FilePath  = filePath;
            wxImageInputDto.FileSize  = Convert.ToInt64(fileSize);
            wxImageInputDto.FileExt   = fileExt;
            wxImageInputDto.ThumbPath = thumbPath;
            wxImageInputDto.MediaId   = mediaId;
            wxImageInputDto.MediaUrl  = mediaUrl;
            wxImageService.SubmitForm(wxImageInputDto, "");
        }