ShirneCMS
Backend management system developed based on ThinkPHP5.1+bootstrap4.x, integrating member management, article management, product management, WeChat access, third-party login and other functions
The version ShirneCMS-tp6 based on ThinkPHP6.0 is currently undergoing overall functional testing
The operating environment requires PHP7.2 or above, Mysql5.5 or above
PHP extensions: mbstring, gd, mysql, pdo, cURL, OpenSSL, SimpleXML, fileinfo, zip, cli.
Related projects
Mini Program Enterprise Official Website Mini Program Mall
FlutterAPP -- under development
VueShop -- Optimizing
Features
This project focuses on secondary development and use, and the backend functions are gradually being improved. The frontend function is for functional demonstration only. At present, some customized projects of individuals and teams are developed based on this backend.
- Backend administrator login verification, global permission verification system based on method name
- Administrator/member operation log
- System configuration, you can customize configuration items in the background
- Members/member groups can customize distribution levels
- Unlimited classification/article system, categories can be independently set up templates
- Unlimited categories/products/order products adopt multi-option SKU mode
- Advertising management (mostly used for website banner images)/announcements/links/messages and other independent small functions
- Dialog component written based on bs Modal, supports alert, prompt, confirm, as well as commonly used list search/selection dialog box, map location selection dialog box (supports Tencent/Amap/Baidu/Google Maps)
- Background form asynchronous submission/file upload progress display
- bs date component localization, automatic initialization
- Excel encapsulation class, third-party interface (SMS/Express delivery, etc.), file upload encapsulation, etc. to facilitate development optimization
- Automatic image processing/caching. Images in the uploaded folder can be automatically cropped according to specified requirements by adding w/h/q/m parameters after the address. The address called by [original file name.parameter.original suffix] will be automatically cropped and cached.
- Access to WeChat basic functions (automatic login, interface binding, payment, official account menu)
- The API module uses a simple OAuth mode to implement login authorization, WeChat authorization, token refresh, etc.
Functional planning
System functional structure diagram
System basics
- ✅ System installation
- ✅ Use tabs in the background interface (dev_tabs branch)
- ✅ Category/article module
- ✅ Single page module
- ✅ Article module custom fields
- ? Article/product module details page template function
Mall system
- ✅ Unlimited classification
- ✅ Product attributes
- ✅ Product specifications, category binding specifications
- ✅ Shopping cart
- ✅ SKU management
- ✅ Order management
- ✅ Product brand
- ✅ Coupon... The background function is completed and the use function needs to be improved.
- ✅ Postage Template
- ✅ Recommended position
- ? Promotional function
Points Mall
- ✅ Unlimited classification
- ✅ Points products
- ✅ Order management
Other functions
- ✅ Points Mall...under testing
- ✅ Member sign-in
Multi-language support
- ✅ Multi-language switching logic at the front desk
- ? Front-end and back-end multi-language translation (Chinese/English)...under development
WeChat has perfect functions
- ✅ Fan management/synchronization/push messages (text/articles/products/materials)
- ✅ Automatic reply (text/image), managed message processing to be supported
- ✅ Material management
- ✅ Custom menu (to be added: mini program binding/reply binding/handler binding)
- ✅ Template message...Supports preset ID import
- ? QR code management
- ? Customer service management
Some API functions are complete
- ✅ Universal interface, batch interface
- ✅ Article interface (including classification)
- ✅ Login interface (account and password login, mini program authorized login)
- ✅ Product interface
- ✅ Shopping cart interface
- ✅ Order and payment interface
- ✅ Points product interface
- ✅ Points mall order interface
- ✅ Member information
- ✅ Member sign-in, sign-in ranking
- ✅ Shipping address management
- ✅ Order management
- ✅ Account management (balance/points details, cash withdrawal and recharge)...the online recharge interface is to be developed
- ✅ Membership upgrade application
grateful
Front-end library
twbs/bootstrap 4.x
components/jquery 3.3.1
eonasdan/bootstrap-datetimepicker modified for bootstrap4.x
driftyco/ionicons
chartjs/Chart.js 2.7.2
swiper
backend library
ThinkPHP
EasyWechat
phpoffice/phpspreadsheet
phpmailer
endroid/qr-code
Font (used to generate images)
[NotoSansCJKsc] Baidu network disk extraction code: 7cwl
# 字体文件目录
srcpublicstaticfontsNotoSansCJKsc
Installation and development instructions
Server environment
IIS7 and above + UrlRewrite
Apache2.2 and above + mod_rewrite
nginx+php-fpm
WeChat related configuration
Windows configuration instructions
CentOS configuration instructions
CMS installation instructions
API interface description
Dialog pop-up component description
Docker
See Dockerfile for configuration. Note: If there is a problem with file permissions in the runtime directory, you can delete several cache directories and try again (the reason is that the system has been run on the host and the cache files generated by the host's web account cannot be assigned permissions)
// 创建镜像
cd ./docker-php-apache
docker build -t shirnecms .
// 运行
cd /path/to/shirnecms
docker run -itd -p 8080:80/tcp -v $PWD/src:/data/wwwroot/shirnecms:rw shirnecms --privileged=true
// 需要在线导入sql,则把dbscript拷贝到容器中
docker cp dbscript <容器ID>:/data/wwwroot/shirnecms/
// macos中mysql使用宿主机的话主机填写
docker.for.mac.host.internal
// 默认未开启apache的mod_rewrite,可在/etc/apaches/apache2.conf中开启
IncludeOptional mods-available/rewrite.load
Demo
Backend default login account demo website
test
Password: 123456
Vegetable inventory management system developed based on this system
test
Password: 123456
FAQ
FAQ
Screenshot of background functions
Log in | Main panel |
---|
| |
Classification management | Add category |
| |
Post an article | Publish a single page |
| |
Post a product | Post a product |
| |
Freight Template | Order statistics |
| |
System settings | Coupon |
| |
Member settings | Check-in settings |
| |
Member group | Member management |
| |
WeChat settings | WeChat menu |
| |
advertising space | Post an ad |
| |
contact me
Technical discussions, deployment, installation and custom development charges are welcome.
- QQ 79099818
- WeChat shirnewei
Note for technical discussion/consultation or other needs
Open source agreement
- Based on GPL-2.0
- Free for personal and commercial use, but we are not responsible for any consequences caused by using this system
- The modified source code can be commercially used and can be released in open source form
- Any form of sale under any name is prohibited