傅行帆 пре 6 година
родитељ
комит
51f8c3704c

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/ImageController.java Прегледај датотеку

27
     private ImageServiceI imageService;
27
     private ImageServiceI imageService;
28
 
28
 
29
     @ApiOperation(value = "图片上传以及获取url", notes = "图片上传以及获取url")
29
     @ApiOperation(value = "图片上传以及获取url", notes = "图片上传以及获取url")
30
-    @PostMapping(value = "/getUrl", consumes = "multipart/*", headers = "content-type=multipart/form-data")
30
+    @PostMapping(value = "/uploadimage", consumes = "multipart/*", headers = "content-type=multipart/form-data")
31
     public String uploadImgAndGetUrl(@ApiParam(value = "file" ,required = true) MultipartFile uploadFile) throws Exception {
31
     public String uploadImgAndGetUrl(@ApiParam(value = "file" ,required = true) MultipartFile uploadFile) throws Exception {
32
 
32
 
33
         String url = imageService.getImageUrl(uploadFile);
33
         String url = imageService.getImageUrl(uploadFile);

BIN
CODE/smart-community/community-common/target/classes/com/community/commom/constant/Constant.class Прегледај датотеку


+ 3
- 3
文档/MYSQL/smartCommunity.pdm Прегледај датотеку

1
 <?xml version="1.0" encoding="UTF-8"?>
1
 <?xml version="1.0" encoding="UTF-8"?>
2
-<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1541408258" Name="smartCommunity" Objects="642" Symbols="77" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
2
+<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1541473588" Name="smartCommunity" Objects="642" Symbols="77" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
3
 <!-- do not edit this file -->
3
 <!-- do not edit this file -->
4
 
4
 
5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
10852
 <a:Code>message_type</a:Code>
10852
 <a:Code>message_type</a:Code>
10853
 <a:CreationDate>1539323972</a:CreationDate>
10853
 <a:CreationDate>1539323972</a:CreationDate>
10854
 <a:Creator>szc</a:Creator>
10854
 <a:Creator>szc</a:Creator>
10855
-<a:ModificationDate>1539324295</a:ModificationDate>
10855
+<a:ModificationDate>1541473588</a:ModificationDate>
10856
 <a:Modifier>szc</a:Modifier>
10856
 <a:Modifier>szc</a:Modifier>
10857
-<a:Comment>消息类型  1:工单类型  2:认证类型  3:管理类型  4: 下载类型</a:Comment>
10857
+<a:Comment>消息类型  1:投诉   2:报修 3:联系物业  4: 下载类型</a:Comment>
10858
 <a:DataType>char(1)</a:DataType>
10858
 <a:DataType>char(1)</a:DataType>
10859
 <a:Length>1</a:Length>
10859
 <a:Length>1</a:Length>
10860
 </o:Column>
10860
 </o:Column>