Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
huluobin
gogirl-miniapp-backend
Commits
757dc469
Commit
757dc469
authored
Mar 31, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
ee977b5d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CustomerController.java
...m/gogirl/interfaces/user/customer/CustomerController.java
+5
-1
No files found.
src/main/java/com/gogirl/interfaces/user/customer/CustomerController.java
View file @
757dc469
...
...
@@ -36,9 +36,13 @@ public class CustomerController {
@Resource
CustomerMapper
customerMapper
;
@GetMapping
(
"no_mockLogin"
)
@GetMapping
(
"
/customer/
no_mockLogin"
)
public
JsonResult
<
Void
>
mockLogin
(
@RequestParam
String
pwd
,
@RequestParam
Integer
customerId
)
{
if
(!
pwd
.
equals
(
"gogirlMockLogin"
))
{
throw
new
RRException
(
"invalid req"
);
}
Customer
customer
=
customerMapper
.
selectById
(
customerId
);
GogirlToken
gogirlToken
=
GogirlToken
.
builder
()
.
token
(
customerId
+
"_"
+
IdWorker
.
getIdStr
().
substring
(
6
))
...
...
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