| | |
| | | * 添加小区服务实现类 |
| | | * add by wuxw 2019-06-30 |
| | | */ |
| | | @Service("addNoticeSMOImpl") |
| | | @Service("addFileSMOImpl") |
| | | public class AddFileSMOImpl extends BaseComponentSMO implements IAddFileSMO { |
| | | |
| | | @Autowired |
| | |
| | | ComponentValidateResult result = this.validateStoreStaffCommunityRelationship(pd, restTemplate); |
| | | InputStream is = uploadFile.getInputStream(); |
| | | String fileContext = Base64Convert.ioToBase64(is); |
| | | paramIn.put("file", fileContext); |
| | | paramIn.put("context", fileContext); |
| | | paramIn.put("fileName", uploadFile.getOriginalFilename()); |
| | | |
| | | |