Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
1df7bbf9
Commit
1df7bbf9
authored
Feb 08, 2021
by
桂前礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [none] fixbug NPE
parent
f7495493
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
AppletRecordFacade.java
...ava/com/pcloud/book/applet/facade/AppletRecordFacade.java
+4
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/facade/AppletRecordFacade.java
View file @
1df7bbf9
...
...
@@ -27,6 +27,7 @@ import org.springframework.web.bind.annotation.RestController;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Optional
;
/**
* (AppletRecord)表控制层
...
...
@@ -136,6 +137,9 @@ public class AppletRecordFacade {
@RequestMapping
(
value
=
"/addFootstep"
,
method
=
RequestMethod
.
POST
)
public
ResponseDto
<
Void
>
addFootstep
(
@CookieValue
(
"userInfo"
)
String
userInfo
,
@RequestBody
AddFootstepDto
addFootstepDto
)
{
if
(!
Optional
.
ofNullable
(
addFootstepDto
).
map
(
AddFootstepDto:
:
getTypeName
).
isPresent
())
{
return
new
ResponseDto
<>();
}
Long
wechatUserId
=
Cookie
.
getId
(
userInfo
,
Cookie
.
_WECHAT_USER_ID
);
Integer
fromType
=
addFootstepDto
.
getFromType
();
String
typeName
=
addFootstepDto
.
getTypeName
();
...
...
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