Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zj-dreamly/love-sharing-service
爱分享小程序后端源码
https://github.com/zj-dreamly/love-sharing-service
Last synced: about 1 month ago
JSON representation
爱分享小程序后端源码
- Host: GitHub
- URL: https://github.com/zj-dreamly/love-sharing-service
- Owner: zj-dreamly
- Created: 2019-12-06T06:54:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T02:46:03.000Z (over 2 years ago)
- Last Synced: 2023-03-04T05:40:19.384Z (almost 2 years ago)
- Language: Java
- Size: 138 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
爱分享1024小程序后端
这是我学习慕课的Spring Cloud Alibaba从入门到进阶课程代码。目前此小程序已部署在服务器,此代码clone之后需配合前端代码使用,nacos配置如下:
content-center-dev.yml
```xml
mini:
appKey: 申请的appkey
appSecret: 申请的appSecretspring:
datasource:
url: jdbc:mysql://localhost/love-sharing?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: root
password: root
application:
name: user-center
cloud:
nacos:
discovery:
server-addr: localhost:8848
config:
server-addr: localhost:8848
jackson:
date-format: yyyy-MM-dd
time-zone: GMT+8
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: always
feign:
hystrix:
enabled: true
httpclient:
# 让feign使用apache httpclient做请求;而不是默认的urlconnection
enabled: true
# feign的最大连接数
max-connections: 200
# feign单个路径的最大连接数
max-connections-per-route: 50
```
user-center-dev.yml基本同上,把application name改了就行`user-center`#### 由于服务器机器配置不高,此版本未使用MQ实现