吴昊天 571d4e6a4e 【程序目录】优化查询cartinfo il y a 3 ans
..
app 571d4e6a4e 【程序目录】优化查询cartinfo il y a 3 ans
config 9e559689e2 【程序目录】更新滑块验证图片 il y a 3 ans
crmeb bc6134c6ad 【程序目录】更新优惠券可以领取多张,可以设置多个分类,增加飞鹅云小票打印,优化定时任务 il y a 3 ans
public 571d4e6a4e 【程序目录】优化查询cartinfo il y a 3 ans
route 59e2ba76f7 更新开源v4.3.0版本 il y a 4 ans
runtime 7b72a29fde 【程序目录】runtime 默认添加文件,防止安装缺少目录得手动新建 il y a 3 ans
vendor bc6134c6ad 【程序目录】更新优惠券可以领取多张,可以设置多个分类,增加飞鹅云小票打印,优化定时任务 il y a 3 ans
.constant 3636c67d02 【程序目录】更新安装文件 il y a 3 ans
.env 26951d0409 【程序目录】修复文件 il y a 3 ans
.example.env 4b13398bd8 【程序目录】安装默认图片本地化优化 il y a 3 ans
.htaccess bd462f823b 提交3.1 版本 il y a 6 ans
.travis.yml 2a13a73103 修改项目目录名称 il y a 6 ans
.version 52976e410d 【程序目录】更新版本 il y a 3 ans
LICENSE.txt 28f1cf691d 【程序目录】修改版权信息文件 il y a 3 ans
README.md 5e335c04f1 更新开源v4.5.0版本 il y a 3 ans
baota.sh 4c323733e3 【程序目录】增加宝塔一键安装脚本 il y a 3 ans
build.example.php 44dd728a86 更新开源v4.1.0版本 il y a 4 ans
composer.json f96b5a7451 【程序目录】更新优化 il y a 3 ans
composer.lock f96b5a7451 【程序目录】更新优化 il y a 3 ans
filetree.txt 5e335c04f1 更新开源v4.5.0版本 il y a 3 ans
think 44dd728a86 更新开源v4.1.0版本 il y a 4 ans
workerman.bat 5e335c04f1 更新开源v4.5.0版本 il y a 3 ans

README.md

CRMEB v4.5 后端程序目录

运行环境要求PHP7.1-7.4。

安装

一键安装

上传你的代码,站点入口目录设置/public 在浏览器中输入你的域名或IP(例如:www.yourdomain.com), 安装程序会自动执行安装。期间系统会提醒你输入数据库信息以完成安装,安装完成后建议删除install目录下index.php文件或将其改名。

后台访问地址: 1.域名/admin 2.域名/index.php/admin 3.域名/index.php?s=/admin 公众号和H5首页访问地址: 1.域名/

安装过程中请牢记您的账号密码!

重新安装

  1. 清除数据库
  2. 删除/public/install.lock 文件

手动安装

1.创建数据库,倒入数据库文件 数据库文件目录/public/install/crmeb.sql 2.修改数据库连接文件 配置文件路径/.env

APP_DEBUG = true

[APP]
DEFAULT_TIMEZONE = Asia/Shanghai

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1 #数据库连接地址
DATABASE = test #数据库名称
USERNAME = username #数据库登录账号
PASSWORD = password #数据库登录密码
HOSTPORT = 3306 #数据库端口
CHARSET = utf8
DEBUG = true

[LANG]
default_lang = zh-cn

[REDIS]
REDIS_HOSTNAME = 127.0.0.1 # redis链接地址
PORT = 6379 #端口号
REDIS_PASSWORD = 123456 #密码
SELECT = 0 #数据库

3.修改目录权限(linux系统)777 /public /runtime 4.后台登录: http://域名/admin 默认账号:admin 密码:crmeb.com

消息队列

php think queue:listen --queue

消息队列

php think queue:listen --queue

定时任务

在自动收货,库存预警等功能使用到

php think timer [ status ] [ --d ]

参数

  • status: 状态
    • start: 启动
    • stop: 关闭
    • restart: 重启
  • --d : 后台执行

长连接服务

在h5聊天,后台管理员消息通知等功能使用到

php think workerman [ status ]  [ --d ]

windows环境下需要分三步执行

# 内部通讯服务
php think workerman start --d

参数

  • status: 状态
    • start: 启动
    • stop: 关闭
    • restart: 重启
  • --d : 后台执行

文档

使用手册 TP6开发手册

参与开发

请参阅 CRMEB

版权信息

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2017-2022 by CRMEB (http://www.crmeb.com)

All rights reserved。

CRMEB® 商标和著作权所有者为西安众邦网络科技有限公司。