Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
Project
Project
Details
Activity
Releases
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
周健威
rs-cloud-platform
Commits
6f98fac1
Commit
6f98fac1
authored
Dec 21, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加我的定制列表
parent
d13b840e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
GtdataController.java
.../upyuns/platform/rs/datacenter/rest/GtdataController.java
+3
-3
CustomFormController.java
.../platform/rs/website/controller/CustomFormController.java
+14
-0
No files found.
rs-datacenter/rs-datacenter-server/src/main/java/com/upyuns/platform/rs/datacenter/rest/GtdataController.java
View file @
6f98fac1
...
@@ -35,9 +35,9 @@ public class GtdataController extends CommonBaseController {
...
@@ -35,9 +35,9 @@ public class GtdataController extends CommonBaseController {
public
void
queryAreaInfoByAreaId
()
throws
Exception
{
public
void
queryAreaInfoByAreaId
()
throws
Exception
{
String
url
=
request
.
getRequestURI
();
String
url
=
request
.
getRequestURI
();
String
fileName
=
url
.
substring
(
url
.
lastIndexOf
(
"/"
)+
1
);
String
fileName
=
url
.
substring
(
url
.
lastIndexOf
(
"/"
)+
1
);
//
String filePath = "/obt/thumbnail/"+ url.substring(url.lastIndexOf("/app/unauth/image/")+18);
String
filePath
=
"/obt/thumbnail/"
+
url
.
substring
(
url
.
lastIndexOf
(
"/app/unauth/image/"
)+
18
);
String
filePath
=
"/obt/thumbnail/data/VDM2/20200613/VDM2_20200525232637_0015_L1_MSS_CMOS5/VDM2_20200525232637_0015_L1_MSS_CMOS5_98_98.jpg"
;
//
String filePath = "/obt/thumbnail/data/VDM2/20200613/VDM2_20200525232637_0015_L1_MSS_CMOS5/VDM2_20200525232637_0015_L1_MSS_CMOS5_98_98.jpg";
filePath
=
gtDataRestClient
.
openUrl
(
filePath
);
//
filePath = gtDataRestClient.openUrl(filePath);
downloadVideoById
(
fileName
,
filePath
,
getResponse
());
downloadVideoById
(
fileName
,
filePath
,
getResponse
());
return
;
return
;
}
}
...
...
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/CustomFormController.java
View file @
6f98fac1
package
com
.
upyuns
.
platform
.
rs
.
website
.
controller
;
package
com
.
upyuns
.
platform
.
rs
.
website
.
controller
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.rest.BaseController
;
import
com.github.wxiaoqi.security.common.rest.BaseController
;
import
com.github.wxiaoqi.security.common.vo.PageDataVO
;
import
com.github.wxiaoqi.security.common.vo.PageParam
;
import
com.upyuns.platform.rs.website.biz.CustomFormBiz
;
import
com.upyuns.platform.rs.website.biz.CustomFormBiz
;
import
com.upyuns.platform.rs.website.entity.CustomForm
;
import
com.upyuns.platform.rs.website.entity.CustomForm
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
SYS_FALSE
;
@RestController
@RestController
@RequestMapping
(
"customForm"
)
@RequestMapping
(
"customForm"
)
public
class
CustomFormController
extends
BaseController
<
CustomFormBiz
,
CustomForm
>
{
public
class
CustomFormController
extends
BaseController
<
CustomFormBiz
,
CustomForm
>
{
@RequestMapping
(
value
=
"list"
,
method
=
RequestMethod
.
GET
)
public
ObjectRestResponse
<
PageDataVO
<
CustomForm
>>
myCustoms
(
PageParam
dto
)
{
return
ObjectRestResponse
.
succ
(
PageDataVO
.
pageInfo
(
dto
.
initQuery
(),
()
->
baseBiz
.
selectByWeekend
(
w
->
{
w
.
andEqualTo
(
CustomForm:
:
getIsDel
,
SYS_FALSE
);
return
w
;
},
" 'status' asc, crt_time desc"
)));
}
}
}
\ No newline at end of file
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