Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mica
mica
提交
85b5a37e
mica
项目概览
mica
/
mica
通知
10
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
mica
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
85b5a37e
编写于
4月 14, 2019
作者:
如梦技术
🐛
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
📝
调整 readme
上级
12e3766f
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
23 addition
and
22 deletion
+23
-22
README.md
README.md
+22
-20
mica-boot/src/main/java/net/dreamlu/mica/reactive/context/ReactiveRequestContextHolder.java
...u/mica/reactive/context/ReactiveRequestContextHolder.java
+1
-2
未找到文件。
README.md
浏览文件 @
85b5a37e
...
@@ -3,13 +3,18 @@
...
@@ -3,13 +3,18 @@
`Mica`
,Spring Cloud 微服务开发核心包,基于
`Spring boot 2.x`
,支持
`web`
和
`webflux`
。
`Mica`
,Spring Cloud 微服务开发核心包,基于
`Spring boot 2.x`
,支持
`web`
和
`webflux`
。
想要了解更多可加入【如梦技术】QQ群:
`479710041`
`示例项目:`
https://github.com/lets-mica/mica-example
![
犬夜叉-云母
](
docs/img/mica-001.jpeg
)
![
犬夜叉-云母
](
docs/img/mica-001.jpeg
)
想要了解更多可加入【如梦技术】QQ群:
`479710041`
。
## 模块划分
## 模块划分
### mica-auto
1.
生成
`spring.factories`
2.
生成
`spring-devtools.properties`
3.
生成
`FeignClient`
到
`spring.factories`
中,供
`mica-pro`
中完成
`Feign`
自动化配置。
`源码地址`
:
[
https://gitee.com/596392912/mica-auto
](
https://gitee.com/596392912/mica-auto
)
### mica-core
### mica-core
-
常用工具包,基于
`Spring-core`
扩展增强,无其他依赖。
-
常用工具包,基于
`Spring-core`
扩展增强,无其他依赖。
-
增强 cglib Bean copy,高性能(接近直接get set),支持链式 bean,支持类型转换 。
-
增强 cglib Bean copy,高性能(接近直接get set),支持链式 bean,支持类型转换 。
...
@@ -46,6 +51,9 @@
...
@@ -46,6 +51,9 @@
### mica-captcha
### mica-captcha
-
验证码,支持
`webflux`
和
`serlvet`
。
-
验证码,支持
`webflux`
和
`serlvet`
。
### mica-pro
-
对微服务的扩展和增强,欢迎加入
`如梦技术 VIP`
一起探讨:https://git.dreamlu.net
## 已知问题
## 已知问题
lombok 生成的 method 问题:https://github.com/rzwitserloot/lombok/issues/1861
lombok 生成的 method 问题:https://github.com/rzwitserloot/lombok/issues/1861
...
@@ -66,24 +74,15 @@ lombok 生成的 method 问题:https://github.com/rzwitserloot/lombok/issues/1
...
@@ -66,24 +74,15 @@ lombok 生成的 method 问题:https://github.com/rzwitserloot/lombok/issues/1
`注意`
:若禁止条款被发现有权追讨19999的授权费。
`注意`
:若禁止条款被发现有权追讨19999的授权费。
## 授权用户
## 授权用户
-
`pigx`
宇宙最强微服务(架构师必备):https://pig4cloud.com
*
`pigx`
宇宙最强微服务(架构师必备):https://pig4cloud.com
*
`bladex`
完整的线上解决方案(企业生产必备):https://bladex.vip
-
`bladex`
完整的线上解决方案(企业生产必备):https://bladex.vip
## mica-pro
对微服务的扩展和增强,欢迎加入
`如梦技术 VIP`
一起探讨:https://git.dreamlu.net
## 鸣谢
感谢
`如梦技术VIP群`
小伙伴们的支持。
## 相关链接
## 相关链接
-
mica 源码 Github:
[
https://github.com/lets-mica
](
https://github.com/lets-mica
)
*
`示例项目`
:
[
https://github.com/lets-mica/mica-example
](
https://github.com/lets-mica/mica-example
)
*
mica 源码 Github:
[
https://github.com/lets-mica
](
https://github.com/lets-mica
)
-
mica 源码 Gitee(码云):
[
https://gitee.com/596392912/mica
](
https://gitee.com/596392912/mica
)
*
mica 源码 Gitee(码云):
[
https://gitee.com/596392912/mica
](
https://gitee.com/596392912/mica
)
*
文档地址(官网):
[
https://www.dreamlu.net/docs/
](
https://www.dreamlu.net/docs/
)
-
文档地址(官网):
[
https://www.dreamlu.net/docs/
](
https://www.dreamlu.net/docs/
)
*
文档地址(语雀-可关注订阅):
[
https://www.yuque.com/dreamlu/mica
](
https://www.yuque.com/dreamlu/mica
)
-
文档地址(语雀-可关注订阅):
[
https://www.yuque.com/dreamlu/mica
](
https://www.yuque.com/dreamlu/mica
)
## 开源推荐
## 开源推荐
-
`Avue`
一款基于vue可配置化的神奇框架:
[
https://gitee.com/smallweigit/avue
](
https://gitee.com/smallweigit/avue
)
-
`Avue`
一款基于vue可配置化的神奇框架:
[
https://gitee.com/smallweigit/avue
](
https://gitee.com/smallweigit/avue
)
...
@@ -91,6 +90,9 @@ lombok 生成的 method 问题:https://github.com/rzwitserloot/lombok/issues/1
...
@@ -91,6 +90,9 @@ lombok 生成的 method 问题:https://github.com/rzwitserloot/lombok/issues/1
-
`SpringBlade`
完整的线上解决方案(企业开发必备):
[
https://gitee.com/smallc/SpringBlade
](
https://gitee.com/smallc/SpringBlade
)
-
`SpringBlade`
完整的线上解决方案(企业开发必备):
[
https://gitee.com/smallc/SpringBlade
](
https://gitee.com/smallc/SpringBlade
)
-
`IJPay`
支付SDK让支付触手可及:
[
https://gitee.com/javen205/IJPay
](
https://gitee.com/javen205/IJPay
)
-
`IJPay`
支付SDK让支付触手可及:
[
https://gitee.com/javen205/IJPay
](
https://gitee.com/javen205/IJPay
)
## 鸣谢
感谢
`如梦技术VIP群`
小伙伴们的支持。
## 微信公众号
## 微信公众号
![
如梦技术
](
docs/img/dreamlu-weixin.jpg
)
![
如梦技术
](
docs/img/dreamlu-weixin.jpg
)
...
...
mica-boot/src/main/java/net/dreamlu/mica/reactive/context/ReactiveRequestContextHolder.java
浏览文件 @
85b5a37e
...
@@ -34,8 +34,7 @@ public class ReactiveRequestContextHolder {
...
@@ -34,8 +34,7 @@ public class ReactiveRequestContextHolder {
*/
*/
public
static
Mono
<
ServerHttpRequest
>
getRequest
()
{
public
static
Mono
<
ServerHttpRequest
>
getRequest
()
{
return
Mono
.
subscriberContext
()
return
Mono
.
subscriberContext
()
.
map
(
ctx
->
ctx
.
get
(
CONTEXT_KEY
))
.
map
(
ctx
->
ctx
.
get
(
CONTEXT_KEY
));
.
cast
(
ServerHttpRequest
.
class
);
}
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录