Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
bc3ab480
Commit
bc3ab480
authored
Dec 20, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.bean 名称重复
parent
36cd2bb0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
9 deletions
+4
-9
VideoFeignClient.java
...n/amos/boot/module/common/api/feign/VideoFeignClient.java
+0
-2
EqVideoFeignClient.java
...ava/com/yeejoin/equipmanage/fegin/EqVideoFeignClient.java
+1
-3
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+0
-1
VideoServiceImpl.java
...om/yeejoin/equipmanage/service/impl/VideoServiceImpl.java
+3
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/feign/VideoFeignClient.java
View file @
bc3ab480
...
@@ -16,8 +16,6 @@ import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
...
@@ -16,8 +16,6 @@ import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
*/
*/
@FeignClient
(
name
=
"${video.fegin.name:video}"
,
path
=
"video"
,
configuration
=
{
MultipartSupportConfig
.
class
})
@FeignClient
(
name
=
"${video.fegin.name:video}"
,
path
=
"video"
,
configuration
=
{
MultipartSupportConfig
.
class
})
public
interface
VideoFeignClient
{
public
interface
VideoFeignClient
{
@RequestMapping
(
value
=
"/video-original/url/video/{indexCode}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/video-original/url/video/{indexCode}"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
String
>
videoUrlByIndexCode
(
@PathVariable
(
"indexCode"
)
String
indexCode
);
ResponseModel
<
String
>
videoUrlByIndexCode
(
@PathVariable
(
"indexCode"
)
String
indexCode
);
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/fegin/VideoFeignClient.java
→
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/fegin/
Eq
VideoFeignClient.java
View file @
bc3ab480
...
@@ -15,9 +15,7 @@ import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
...
@@ -15,9 +15,7 @@ import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
* @createDate: 2021/10/20
* @createDate: 2021/10/20
*/
*/
@FeignClient
(
name
=
"${video.fegin.name}"
,
path
=
"video"
,
configuration
=
{
MultipartSupportConfig
.
class
})
@FeignClient
(
name
=
"${video.fegin.name}"
,
path
=
"video"
,
configuration
=
{
MultipartSupportConfig
.
class
})
public
interface
VideoFeignClient
{
public
interface
EqVideoFeignClient
{
@RequestMapping
(
value
=
"/video-original/url/video/{indexCode}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/video-original/url/video/{indexCode}"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
String
>
videoUrlByIndexCode
(
@PathVariable
(
"indexCode"
)
String
indexCode
);
ResponseModel
<
String
>
videoUrlByIndexCode
(
@PathVariable
(
"indexCode"
)
String
indexCode
);
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificSerivceImpl.java
View file @
bc3ab480
...
@@ -91,7 +91,6 @@ import com.yeejoin.equipmanage.common.vo.EquipmentDetailVo;
...
@@ -91,7 +91,6 @@ import com.yeejoin.equipmanage.common.vo.EquipmentDetailVo;
import
com.yeejoin.equipmanage.common.vo.EquipmentOnCarVo
;
import
com.yeejoin.equipmanage.common.vo.EquipmentOnCarVo
;
import
com.yeejoin.equipmanage.common.vo.EquipmentSpecific3dVo
;
import
com.yeejoin.equipmanage.common.vo.EquipmentSpecific3dVo
;
import
com.yeejoin.equipmanage.config.EquipmentIotMqttReceiveConfig
;
import
com.yeejoin.equipmanage.config.EquipmentIotMqttReceiveConfig
;
import
com.yeejoin.equipmanage.fegin.VideoFeignClient
;
import
com.yeejoin.equipmanage.mapper.EquipmentIndexMapper
;
import
com.yeejoin.equipmanage.mapper.EquipmentIndexMapper
;
import
com.yeejoin.equipmanage.mapper.EquipmentSpecificAlarmMapper
;
import
com.yeejoin.equipmanage.mapper.EquipmentSpecificAlarmMapper
;
import
com.yeejoin.equipmanage.mapper.EquipmentSpecificMapper
;
import
com.yeejoin.equipmanage.mapper.EquipmentSpecificMapper
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/VideoServiceImpl.java
View file @
bc3ab480
...
@@ -49,7 +49,7 @@ import com.yeejoin.equipmanage.common.enums.EquipmentSpeIndexEnum;
...
@@ -49,7 +49,7 @@ import com.yeejoin.equipmanage.common.enums.EquipmentSpeIndexEnum;
import
com.yeejoin.equipmanage.common.enums.IndustryEnum
;
import
com.yeejoin.equipmanage.common.enums.IndustryEnum
;
import
com.yeejoin.equipmanage.common.utils.HttpContentTypeUtil
;
import
com.yeejoin.equipmanage.common.utils.HttpContentTypeUtil
;
import
com.yeejoin.equipmanage.common.utils.StringUtil
;
import
com.yeejoin.equipmanage.common.utils.StringUtil
;
import
com.yeejoin.equipmanage.fegin.VideoFeignClient
;
import
com.yeejoin.equipmanage.fegin.
Eq
VideoFeignClient
;
import
com.yeejoin.equipmanage.mapper.VideoMapper
;
import
com.yeejoin.equipmanage.mapper.VideoMapper
;
import
com.yeejoin.equipmanage.service.IBuilldService
;
import
com.yeejoin.equipmanage.service.IBuilldService
;
import
com.yeejoin.equipmanage.service.IEquipmentCategoryService
;
import
com.yeejoin.equipmanage.service.IEquipmentCategoryService
;
...
@@ -105,7 +105,7 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
...
@@ -105,7 +105,7 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
@Autowired
@Autowired
VideoFeignClient
v
ideoFeignClient
;
EqVideoFeignClient
eqV
ideoFeignClient
;
@Value
(
"${param.htvideo.url}"
)
@Value
(
"${param.htvideo.url}"
)
...
@@ -534,7 +534,7 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
...
@@ -534,7 +534,7 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
private
String
getVideoUrl
(
String
code
){
private
String
getVideoUrl
(
String
code
){
String
url
=
""
;
String
url
=
""
;
try
{
try
{
ResponseModel
<
String
>
da
=
v
ideoFeignClient
.
videoUrlByIndexCode
(
code
);
ResponseModel
<
String
>
da
=
eqV
ideoFeignClient
.
videoUrlByIndexCode
(
code
);
if
(!
ObjectUtils
.
isEmpty
(
da
)){
if
(!
ObjectUtils
.
isEmpty
(
da
)){
url
=
da
.
getResult
().
substring
(
da
.
getResult
().
indexOf
(
"openUrl"
));
url
=
da
.
getResult
().
substring
(
da
.
getResult
().
indexOf
(
"openUrl"
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment