WeChat Mall Information Management System (java background + applet)

image

      A set of WeChat mall information management system (java background + applet) was released in the public account some time ago, maybe everyone may still remember. I will repeat it for everyone today. Reorganize it to make it easier for everyone to understand what this is for, so that it can be used in the future. Start the topic

  1. 01

Writing purpose

Describe the WeChat Mall information management system, which is a complete WeChat applet + WeChat background management system program.

  1. 02

Project structure

platform-wechat-mall

|--platform-admin background management

|--platform-api WeChat Mini Program Mall api interface

|--platform-common common module

|--platform-framework system WEB merge, please package and publish this project

|--platform-gen code generation

|--platform-mp WeChat public account module

|--platform-schedule timing task

|--platform-shop mall background management

|--wx-mall WeChat Mini Program Mall

|--platform-vue WeChat public account mall

  1. 03

Technical selection

1. Back-end technology

 springframework4.3.7.RELEASE

 mybatis3.1.0、MyBatis-Plus 3.1.0

 shiro1.3.2

 servlet3.1.0

 druid 1.0.28

 slf4j1.7.19

 fastjson1.2.30

 poi3.15

 velocity1.7

 quartz2.2.3

 mysql5.1.39

 swagger2.4

 j2cache2.3.22-release

 weixin-java-mp3.2.0

 MybatisPlus3.1.0

 lombok

Front-end use technology

 View2.5.1

 iview

 layer3.0.3

 jquery2.2.4

 bootstrap3.3.7

 jqgrid5.1.1

 ztree3.5.26

 froala_editor1.2.2

  1. 04

Realize function

One: Member Management

a Membership management b Membership level c Delivery address management d Member discount coupon e Member collection f Member footprint  g Search history h Shopping cart

Two: Mall configuration

a Regional configuration b Commodity attribute category c Brand manufacturer d Commodity specification e Order management f Commodity type  g Channel management h Product Q&A i Feedback j Keywords

Three: commodity editing

a All products b User reviews c Product settings d Product specifications e Commodity recycling bin

Four: Promotion Management

a List of advertisements b Advertisement location c Coupon management d Special topic management e Special topic classification

Five: order management

a All orders management

Six: System Management

a List of administrators b Role management c Menu management d SQL monitoring e Timed tasks f Parameter management g Code generator h System log i File upload j General dictionary table      

Seven: SMS service platform

a Configure the account information of the SMS platform b Provide an interface for sending SMS:

  1. 05

Prepare the environment

The developer or deployer prepares the following environment in advance: jdk1.8, maven3.3, tomcat8, mysql5.7, redis4.0.1

Installation in Windows

1. Download the 32-bit or 64-bit redis compressed package file corresponding to the number of system versions.

2. Decompress and store the files in the specified directory. This system is installed by default in C:\Redis-x64-3.2.100

3. Use cmd command line to run (note that super administrator is recommended to run cmd command), execute the following commands

cd C: \ Redis-x64-3.2.100

redis-server.exe redis.windows.conf

4. Use cmd command line to run (note that super administrator is recommended to run cmd command), execute the following commands

cd C: \ Redis-x64-3.2.100

redis-cli.exe -h 127.0.0.1 -p 6379

5、验证redis是否启动成功

redis desktop manager验证是否启动成功,同时验证密码

  1. 06

初始化数据库

创建数据库

数据库版本:mysql5.7

数据库名称:weixinshop

数据库字符集:utf-8

初始化数据库

依次初始化sql脚本 :platform.sql  、sys_region.sql

  1. 07

搭建后台开发环境

导入项目到IDE开发工具(eclipse

Meaven工程导入,meaven会自动创建所需的资料。前提先安装meaven

导入支付证书

导入必要的支付证书至/platform-shop/src/main/resources/cert/目录下(申请商户号、开通微信支付、下载支付证书)

修改配置文件1

修改配置文件/platform-admin/src/main/resources/dev/platform.properties

修改配置文件2

修改配置文件 /platform-admin/src/main/resources/j2cache.properties

启动

platform-framework 右键 run as 选择on server 。将此工程目录部署到tomcat 服务器中。注意一般第一次需要修改tomcat 的timeout属性,timeout失效时间由45修改为2000即可,不然第一次启动时会提示超时。

访问

http://localhost:8088/platform-framework/login.html

用户名:admin 密码:admin

  1. 08

搭建小程序开发环境

导入项目到小程序开发工具

导入 /wx-mall填写appI

修改配置

修改 /wx-mall/config/api.js里API_BASE_URL的值


  1. 09

生产打包部署

命令 platform-wechat-mall>mvn package -P prod

  1. 10

后台效果

image

image

  1. 11

小程序效果

image

  1. 扫码关注

image(公众号)
image(微信)

  1. 免责声明

[ Writing instructions ] The above content is shared with programmers who like to program and have dreams, and hope to help you. The above article belongs to the original public account. If you need to reprint, please indicate the source. [ Disclaimer ] This public platform is not an advertiser, nor does it advertise for other third-party websites or individuals. The source code and articles shared here are some of the projects that I think are good in the project and study. Some voluntary download or payment behaviors generated by users. No direct relationship with the platform [ Submission Email ] [email protected]


Guess you like

Origin blog.51cto.com/15067267/2576570