姜源の全栈云笔记
  • 首页
  • 分类
  • 工具
  • 标签
  • 归档
  • 关于
  • Docsify
  •   

01-Spring Cloud Gateway

官网地址:https://spring.io/projects/spring-cloud-gateway 中文文档参考:https://www.jianshu.com/p/6ff196940b67 1. Gateway 简介Spring Cloud Gateway 是 Spring Cloud 的一个全新项目,该项目是基于Netty、Reactor以及WEbFlux构建,它旨在为微服务架构提供一
2020-03-02
14_微服务 > 04_API网关
#微服务 #SpringCloudAlibaba #Gateway

02-订单服务

1. 订单状态与超时 订单的状态 待支付 → 待发货 → 待确认 → 待评价 → 已评价 超时订单、取消订单(未支付)、退款(已支付、待发货)、退货(待评价、待确认)、换货、售后(维修) 订单的超时 1.支付超时:如点餐 15 分钟需要支付而未支付 2.确认超时:超过 7 天还未确认收货,系统自动确认收货 3.评价超时:超过 7 天未评价的,系统自动评价 4.订单的超卖:不能超过库
2020-03-02
14_微服务 > 09_商品服务
#微服务 #订单服务

01-支付宝支付

官网地址:https://www.alipay.com/ 沙箱环境:https://opendocs.alipay.com/open/200/105311 1. 封装二维码操作QrCodeUtil-二维码生成与解析 2. 支付宝支付 Demo2.1 依赖 jar123456<!-- https://mvnrepository.com/artifact/com.alipay.sdk/alip
2020-03-02
14_微服务 > 10_支付服务
#微服务 #SpringCloudAlibaba #支付服务

01-商品 SPU+SKU

参考资料1:https://www.cnblogs.com/lingyejun/p/9569563.html 参考资料2:https://www.zhihu.com/question/29073730 1. SPU+SKU简介1.1 概念SPU : Standard Product Unit 标准化产品单元(俗称” 款 “)——【商品属性】无关于库存 SPU是商品信息聚合的最小单位,是一组可复用
2020-03-02
14_微服务 > 09_商品服务
#微服务 #商品服务

02-微信支付

官网地址:https://pay.weixin.qq.com/static/applyment_guide/applyment_index.shtml API文档:https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/api.shtml 1. 封装 XML 操作Dom4J、Sax、pull、jackson Dom4J解析XML工具类 2. 封装
2020-03-02
14_微服务 > 10_支付服务
#微服务 #支付服务

Mail 服务 Demo

1. 服务 demo controller 1234567891011@RestController@RequestMapping("/mail")public class MailController &#123; @Autowired private MailService mailServcer; @GetMapping("/sendCod
2020-03-02
14_微服务 > 08_邮箱服务
#微服务 #邮件服务

03-聚合支付Demo

1. 页面 demo 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989
2020-03-02
14_微服务 > 10_支付服务
#微服务 #SpringCloudAlibaba #支付服务

Spring Data Redis+Redisson

官网地址:https://spring.io/projects/spring-data-redis 参考文档:https://docs.spring.io/spring-data/data-redis/docs/current/reference/html/ 1. 简介适合:高频 使用的数据、具有有效期的数据 不适合:频繁修改的数据、敏感数据 常用技术:Redis、MongoDB 对比: Re
2020-03-02
14_微服务 > 11_缓存服务
#微服务 #Redis #缓存服务

本地缓存Caffeine实战

一、Caffeine介绍1、缓存介绍缓存(Cache)在代码世界中无处不在。从底层的CPU多级缓存,到客户端的页面缓存,处处都存在着缓存的身影。缓存从本质上来说,是一种空间换时间的手段,通过对数据进行一定的空间安排,使得下次进行数据访问时起到加速的效果。 就Java而言,其常用的缓存解决方案有很多,例如数据库缓存框架EhCache,分布式缓存Memcached等,这些缓存方案实际上都是为了提升吞吐
2020-03-02
14_微服务 > 11_缓存服务
#微服务 #Redis #缓存服务 #Caffeine

Spring Cloud Alibaba快速上手

1、简单了解 SpringCloud官网地址:https://spring.io/projects/spring-cloud spring-cloud-alibaba:(基于2.2.7.RELEASE ) https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/en-us/index.html 1.1 概述:Spring
2020-03-02
08_框架技术 > 05_SpringCloud
#SpringCloud #SpringCloudAlibaba
…2324252627282930313233…
CSDN GitHub Hexo Fluid
总访问量(PV) 次, 总访客数(UV) 人