Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
e1b02636
Commit
e1b02636
authored
Sep 17, 2020
by
董建华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整返回参数
parent
d269e486
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AppletController.java
...xyqb/controller/middleoffice/applet/AppletController.java
+4
-4
No files found.
src/main/java/cn/quantgroup/xyqb/controller/middleoffice/applet/AppletController.java
View file @
e1b02636
...
...
@@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.annotation.Resource
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
/**
...
...
@@ -60,16 +61,15 @@ public class AppletController {
appletParamEntry
.
getUtmSource
(),
userId
);
return
JsonResult
.
buildSuccessResultGeneric
(
ImmutableMap
.
of
(
"userId"
,
userId
,
"user"
,
loginVo
));
.
buildSuccessResultGeneric
(
loginVo
);
}
/**
* @return
*/
@PostMapping
(
"/login"
)
public
JsonResult
login
(
String
appName
,
String
openId
,
String
utmSource
)
{
@Validated
public
JsonResult
login
(
@NotNull
String
appName
,
@NotNull
String
openId
,
String
utmSource
)
{
if
(!
appNames
.
contains
(
appName
))
{
throw
new
DataException
(
"appName不合法"
);
}
...
...
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