Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
springcloud-book
提交
f10b2b64
S
springcloud-book
项目概览
OpenDocCN
/
springcloud-book
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
springcloud-book
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
f10b2b64
编写于
3月 29, 2018
作者:
F
fangzhipeng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
深入理解Spring Cloud与微服务构建
上级
4cd63f9d
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
839 addition
and
409 deletion
+839
-409
chapter14/.idea/workspace.xml
chapter14/.idea/workspace.xml
+429
-222
chapter15/.idea/workspace.xml
chapter15/.idea/workspace.xml
+406
-182
chapter15/user-service/src/main/java/com/forezp/service/UserServiceDetail.java
...e/src/main/java/com/forezp/service/UserServiceDetail.java
+1
-1
chapter16/.idea/workspace.xml
chapter16/.idea/workspace.xml
+3
-4
未找到文件。
chapter14/.idea/workspace.xml
浏览文件 @
f10b2b64
此差异已折叠。
点击以展开。
chapter15/.idea/workspace.xml
浏览文件 @
f10b2b64
此差异已折叠。
点击以展开。
chapter15/user-service/src/main/java/com/forezp/service/UserServiceDetail.java
浏览文件 @
f10b2b64
...
@@ -46,7 +46,7 @@ public class UserServiceDetail implements UserDetailsService {
...
@@ -46,7 +46,7 @@ public class UserServiceDetail implements UserDetailsService {
throw
new
UserLoginException
(
"error password"
);
throw
new
UserLoginException
(
"error password"
);
}
}
// 获取token
// 获取token
JWT
jwt
=
client
.
getToken
(
"Basic d
2ViX2FwcDo
="
,
"password"
,
username
,
password
);
JWT
jwt
=
client
.
getToken
(
"Basic d
XNlci1zZXJ2aWNlOjEyMzQ1Ng=
="
,
"password"
,
username
,
password
);
// 获得用户菜单
// 获得用户菜单
if
(
jwt
==
null
){
if
(
jwt
==
null
){
throw
new
UserLoginException
(
"error internal"
);
throw
new
UserLoginException
(
"error internal"
);
...
...
chapter16/.idea/workspace.xml
浏览文件 @
f10b2b64
...
@@ -939,7 +939,7 @@
...
@@ -939,7 +939,7 @@
<workItem
from=
"1503722241798"
duration=
"59000"
/>
<workItem
from=
"1503722241798"
duration=
"59000"
/>
<workItem
from=
"1513135527706"
duration=
"83000"
/>
<workItem
from=
"1513135527706"
duration=
"83000"
/>
<workItem
from=
"1522219829150"
duration=
"557000"
/>
<workItem
from=
"1522219829150"
duration=
"557000"
/>
<workItem
from=
"1522309315389"
duration=
"
483
000"
/>
<workItem
from=
"1522309315389"
duration=
"
619
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
...
@@ -976,11 +976,10 @@
...
@@ -976,11 +976,10 @@
</history-entry>
</history-entry>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"142
644
000"
/>
<option
name=
"totallyTimeSpent"
value=
"142
780
000"
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"43"
y=
"23"
width=
"1237"
height=
"777"
extended-state=
"1"
/>
<frame
x=
"43"
y=
"23"
width=
"1237"
height=
"777"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
id=
"Palette"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Palette"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Nl-Palette"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Nl-Palette"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录