# 微同商城
**Repository Path**: getjava/platform
## Basic Information
- **Project Name**: 微同商城
- **Description**: 减少重复造轮子,开源微信小程序商城 (前后台开源) 。快速搭建一个属于自己的微信小程序商城。QQ交流群:66502035、870579539欢迎大家进群交流技术。
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: https://fly2you.cn
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 7323
- **Created**: 2019-05-08
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 微同商城推荐服务器配置
### 服务器配置:
CPU:2核
内存:8G
实例规格:标准型S2机型
带宽:2M
价格:262 元/月 1768.5 元/年 4716 元/三年
[点我购买](https://cloud.tencent.com/redirect.php?redirect=1014&cps_key=30280f92fc381dfc9e1d9e0e23d25a18&from=console)
购买说明:如果业务量较大,推荐双机部署。
### MySQL高可用版配置:
CPU:1核
内存:2G
硬盘:200G
价格:348元/月 3466.08元/年 3758.40元/三年
[点我购买](https://cloud.tencent.com/redirect.php?redirect=10481&cps_key=30280f92fc381dfc9e1d9e0e23d25a18)
购买说明:腾讯云产品购买时长越大折扣就越大,所有推荐选择3年时长,可以达到3折优惠。
### COS资源包:
标准型存储容量:
100GB 1年 101 元
200GB 1年 200 元
下行流量:
100GB 3个月 43元
200GB 3个月 85元
500GB 3个月 213元
[点我购买](https://cloud.tencent.com/redirect.php?redirect=10165&cps_key=30280f92fc381dfc9e1d9e0e23d25a18)
购买说明:根据实际业务存储量购买,目前我的站点存储容量100G,下行流量100G,刚好够用!
# 微信小程序商城(Java版)
## 获得荣誉
### GVP

## 官方首页
* [演示地址](http://fly2you.cn)
* [最新开发文档](http://fly2you.cn/guide/index)
### 微同商城商业版

* 官方QQ群:
* git:[https://gitee.com/fuyang_lipengjun/platform](https://gitee.com/fuyang_lipengjun/platform)
* 基础架构版
* git:[https://gitee.com/fuyang_lipengjun/platform-framework](https://gitee.com/fuyang_lipengjun/platform-framework)
* 代码生成工具IDEA插件
* git:[https://gitee.com/fuyang_lipengjun/platform-gen](https://gitee.com/fuyang_lipengjun/platform-gen)
## 技术选型
* 1 后端使用技术
* 1.1 springframework4.3.7.RELEASE
* 1.2 mybatis3.1.0、MyBatis-Plus 3.1.0
* 1.3 shiro1.3.2
* 1.4 servlet3.1.0
* 1.5 druid1.0.28
* 1.6 slf4j1.7.19
* 1.7 fastjson1.2.30
* 1.8 poi3.15
* 1.9 velocity1.7
* 1.10 quartz2.2.3
* 1.11 mysql5.1.39
* 1.12 swagger2.4
* 1.13 j2cache2.3.22-release
* 1.14 weixin-java-mp3.2.0
* 1.15 MybatisPlus3.1.0
* 2 前端使用技术
* 2.1 Vue2.5.1
* 2.2 iview
* 2.3 layer3.0.3
* 2.4 jquery2.2.4
* 2.5 bootstrap3.3.7
* 2.6 jqgrid5.1.1
* 2.7 ztree3.5.26
* 2.8 froala_editor1.2.2
## 项目结构
~~~
platform-wechat-mall
|--platform-admin 后台管理
|--platform-api 微信小程序商城api接口
|--platform-common 公共模块
|--platform-framework 系统WEB合并,请打包发布此项目
|--platform-gen 代码生成
|--platform-mp 微信公众号模块
|--platform-schedule 定时任务
|--platform-shop 商城后台管理
|--wx-mall 微信小程序商城
|--platform-vue 微信公众号商城(待开发,感兴趣的同学可以参与开发)
~~~
## 实现功能
* 一:会员管理
* a 会员管理
* b 会员等级
* c 收货地址管理
* d 会员优惠劵
* e 会员收藏
* f 会员足迹
* g 搜索历史
* h 购物车
* 二:商城配置
* a 区域配置
* b 商品属性种类
* c 品牌制造商
* d 商品规格
* e 订单管理
* f 商品类型
* g 渠道管理
* h 商品问答
* i 反馈
* j 关键词
* 三:商品编辑
* a 所有商品
* b 用户评论
* c 产品设置
* d 商品规格
* e 商品回收站
* 四:推广管理
* a 广告列表
* b 广告位置
* c 优惠劵管理
* d 专题管理
* e 专题分类
* 五:订单管理
* a 所有订单管理
* 六:系统管理
* a 管理员列表
* b 角色管理
* c 菜单管理
* d SQL监控
* e 定时任务
* f 参数管理
* g 代码生成器
* h 系统日志
* i 文件上传
* j 通用字典表
* 六:短信服务平台
* **需要短信验证码、短信通知、短信营销的客户进群私聊我**
* a 配置短信平台账户信息
* b 向外提供发送短信接口:
```
http://域名:端口/api/sendSms?mobile=13000000000,15209831990&content=发送的短信内容
安全起见,需配置有效IP地址。platform.properties -> sms.validIp
```
## 安装教程
* 配置环境(推荐jdk1.8、maven3.3、tomcat8、mysql5.7、redis4.0.1)
* 创建数据库
* 依次初始化sql脚本
* /_sql/platform.sql
* /_sql/sys_region.sql
* 导入项目到IDE中
* 导入支付证书至/platform-shop/src/main/resources/cert/目录下(申请商户号、开通微信支付、下载支付证书)
* 修改配置文件 /platform-admin/src/main/resources/dev/platform.properties
* jdbc.url
* jdbc.username
* jdbc.password
* wx.appId
* wx.secret
* wx.mchId
* wx.paySignKey
* wx.notifyUrl
* sms.validIp
* mp.appId
* mp.secret
* mp.token
* mp.aesKey
* 修改配置文件 /platform-admin/src/main/resources/j2cache.properties
* redis.hosts
* redis.password
* 启动后台项目(参照开发文档)
* 打开微信开发者工具
* 导入 /wx-mall填写appId
* 修改 /wx-mall/config/api.js里API_BASE_URL的值
* 使用eclipse启动项目后默认访问路径
* [http://localhost:8080/platform-framework](http://localhost:8080/platform-framework)
* 使用idea启动项目后默认访问路径
* [http://localhost:8080](http://localhost:8080)
## 生产环境打包
platform-wechat-mall>mvn package -P prod
## platform-vue启动
* npm install -g yarn
* yarn install
* yarn run dev
* 浏览器输入[http://127.0.0.1:8001](http://127.0.0.1:8001)
***
### 关注微信公众号,第一时间获取项目最新动向,即将推出视频教程

## 页面展示
### 登录页面

### 首页

### 发送短信

### 捐赠

### 小程序首页

### 专题

### 分类

### 购物车

### 登录授权

### 优惠券

### 小程序并联手机

### VUE页面

***
### 开发文档目录
