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
bb16db54
Commit
bb16db54
authored
Mar 23, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
60c93d49
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
StoreTechnicianServiceImpl.java
...lication/store/store/impl/StoreTechnicianServiceImpl.java
+3
-0
MvcInterceptorConfig.java
...om/gogirl/infrastructure/config/MvcInterceptorConfig.java
+1
-1
XcxController.java
src/main/java/com/gogirl/interfaces/xcx/XcxController.java
+0
-1
No files found.
src/main/java/com/gogirl/application/store/store/impl/StoreTechnicianServiceImpl.java
View file @
bb16db54
...
@@ -96,6 +96,9 @@ public class StoreTechnicianServiceImpl extends ServiceImpl<StoreTechnicianMappe
...
@@ -96,6 +96,9 @@ public class StoreTechnicianServiceImpl extends ServiceImpl<StoreTechnicianMappe
@Override
@Override
public
StoreTechnician
getTechnician
()
{
public
StoreTechnician
getTechnician
()
{
Integer
technicianId
=
SessionUtils
.
getTechnicianId
();
Integer
technicianId
=
SessionUtils
.
getTechnicianId
();
if
(
technicianId
==
null
)
{
throw
new
RRException
(
2000
,
"token已经失效,请重新登陆"
);
}
StoreTechnician
storeTechnician
=
this
.
getById
(
technicianId
);
StoreTechnician
storeTechnician
=
this
.
getById
(
technicianId
);
GogirlToken
gogirlToken
=
SessionUtils
.
getTechnicianToken
();
GogirlToken
gogirlToken
=
SessionUtils
.
getTechnicianToken
();
storeTechnician
.
setTechnicianId
(
storeTechnician
.
getId
());
storeTechnician
.
setTechnicianId
(
storeTechnician
.
getId
());
...
...
src/main/java/com/gogirl/infrastructure/config/MvcInterceptorConfig.java
View file @
bb16db54
...
@@ -113,7 +113,7 @@ public class MvcInterceptorConfig extends WebMvcConfigurationSupport {
...
@@ -113,7 +113,7 @@ public class MvcInterceptorConfig extends WebMvcConfigurationSupport {
.
excludePathPatterns
(
"/technician/phone/bindPhone_t"
)
.
excludePathPatterns
(
"/technician/phone/bindPhone_t"
)
.
excludePathPatterns
(
"/technician/phone/getBindCode"
)
.
excludePathPatterns
(
"/technician/phone/getBindCode"
)
.
excludePathPatterns
(
"/technician/xcx/upload"
)
.
excludePathPatterns
(
"/technician/xcx/upload"
)
//
.excludePathPatterns("/technician/xcx/getUserInfo_t")
.
excludePathPatterns
(
"/technician/xcx/getUserInfo_t"
)
.
excludePathPatterns
(
"/technician/xcx/choseStore"
)
.
excludePathPatterns
(
"/technician/xcx/choseStore"
)
.
excludePathPatterns
(
"/technician/xcx/getTechnicianShopList"
)
.
excludePathPatterns
(
"/technician/xcx/getTechnicianShopList"
)
.
excludePathPatterns
(
"/customer/produce/queryProduceDetail"
)
.
excludePathPatterns
(
"/customer/produce/queryProduceDetail"
)
...
...
src/main/java/com/gogirl/interfaces/xcx/XcxController.java
View file @
bb16db54
...
@@ -111,7 +111,6 @@ public class XcxController {
...
@@ -111,7 +111,6 @@ public class XcxController {
public
JsonResult
<
StoreTechnician
>
getTechnician
(
@RequestHeader
String
token
)
{
public
JsonResult
<
StoreTechnician
>
getTechnician
(
@RequestHeader
String
token
)
{
log
.
info
(
"根据token:"
+
token
+
",查询用户信息."
);
log
.
info
(
"根据token:"
+
token
+
",查询用户信息."
);
StoreTechnician
storeTechnician
=
storeTechnicianService
.
getTechnician
();
StoreTechnician
storeTechnician
=
storeTechnicianService
.
getTechnician
();
return
JsonResult
.
success
(
storeTechnician
);
return
JsonResult
.
success
(
storeTechnician
);
}
}
...
...
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