Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
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
youjj
cloud-platform
Commits
53ef0ac8
Commit
53ef0ac8
authored
Jul 09, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加打印日志
parent
67b7ba77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+2
-0
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
53ef0ac8
...
@@ -239,6 +239,7 @@ public class BaseOrderController extends CommonBaseController {
...
@@ -239,6 +239,7 @@ public class BaseOrderController extends CommonBaseController {
@IgnoreClientToken
@IgnoreClientToken
@ResponseBody
@ResponseBody
public
ObjectRestResponse
<
OrderPageVO
>
get
(
@PathVariable
String
no
)
{
public
ObjectRestResponse
<
OrderPageVO
>
get
(
@PathVariable
String
no
)
{
log
.
info
(
"no:"
+
no
+
",时间戳:"
+
System
.
currentTimeMillis
());
//查询列表数据
//查询列表数据
if
(
StringUtils
.
isBlank
(
BaseContextHandler
.
getUserID
()))
{
if
(
StringUtils
.
isBlank
(
BaseContextHandler
.
getUserID
()))
{
throw
new
BaseException
(
ResultCode
.
AJAX_WECHAT_NOTEXIST_CODE
);
throw
new
BaseException
(
ResultCode
.
AJAX_WECHAT_NOTEXIST_CODE
);
...
@@ -249,6 +250,7 @@ public class BaseOrderController extends CommonBaseController {
...
@@ -249,6 +250,7 @@ public class BaseOrderController extends CommonBaseController {
if
(
page
.
getData
().
isEmpty
())
{
if
(
page
.
getData
().
isEmpty
())
{
throw
new
BaseException
(
ResultCode
.
NOTEXIST_CODE
);
throw
new
BaseException
(
ResultCode
.
NOTEXIST_CODE
);
}
}
log
.
info
(
"no:"
+
no
+
",时间戳:"
+
System
.
currentTimeMillis
());
return
new
ObjectRestResponse
<>().
data
(
page
.
getData
().
get
(
0
));
return
new
ObjectRestResponse
<>().
data
(
page
.
getData
().
get
(
0
));
}
}
...
...
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