提交模版
This commit is contained in:
parent
7f23fe396d
commit
c44a9eb4f7
7
.gitignore
vendored
7
.gitignore
vendored
@ -1 +1,6 @@
|
|||||||
*.log
|
# Windows thumbnail cache files
|
||||||
|
/.idea
|
||||||
|
crmeb/public/install/install.lock
|
||||||
|
crmeb/public/.htaccess
|
||||||
|
crmeb/public/uploads/
|
||||||
|
template/admin/node_modules
|
||||||
|
36
README.en.md
Normal file
36
README.en.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 测试crmeb-admin
|
||||||
|
|
||||||
|
#### Description
|
||||||
|
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||||
|
|
||||||
|
#### Software Architecture
|
||||||
|
Software architecture description
|
||||||
|
|
||||||
|
#### Installation
|
||||||
|
|
||||||
|
1. xxxx
|
||||||
|
2. xxxx
|
||||||
|
3. xxxx
|
||||||
|
|
||||||
|
#### Instructions
|
||||||
|
|
||||||
|
1. xxxx
|
||||||
|
2. xxxx
|
||||||
|
3. xxxx
|
||||||
|
|
||||||
|
#### Contribution
|
||||||
|
|
||||||
|
1. Fork the repository
|
||||||
|
2. Create Feat_xxx branch
|
||||||
|
3. Commit your code
|
||||||
|
4. Create Pull Request
|
||||||
|
|
||||||
|
|
||||||
|
#### Gitee Feature
|
||||||
|
|
||||||
|
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||||
|
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||||
|
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||||
|
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||||
|
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||||
|
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
195
README.md
195
README.md
@ -1,120 +1,111 @@
|
|||||||
CRMEB v4.5 后端程序目录
|
<div align="center" >
|
||||||
===============
|
<img src="https://images.gitee.com/uploads/images/2021/1109/164354_0aafe3d2_892944.gif" />
|
||||||
|
</div>
|
||||||
|
|
||||||
> 运行环境要求PHP7.1-7.4。
|
<div align="center">
|
||||||
|
|
||||||
## 安装
|
支持免费商用的PHP Admin框架系统
|
||||||
|
|
||||||
## 一键安装
|
</div>
|
||||||
上传你的代码,站点入口目录设置/public
|
|
||||||
在浏览器中输入你的域名或IP(例如:www.yourdomain.com),
|
|
||||||
安装程序会自动执行安装。期间系统会提醒你输入数据库信息以完成安装,安装完成后建议删除install目录下index.php文件或将其改名。
|
|
||||||
|
|
||||||
后台访问地址:
|
<div align="center" >
|
||||||
1.域名/admin
|
<a href="http://www.crmeb.com">
|
||||||
2.域名/index.php/admin
|
<img src="https://img.shields.io/badge/Licence-MIT-green.svg?style=flat" />
|
||||||
3.域名/index.php?s=/admin
|
</a>
|
||||||
公众号和H5首页访问地址:
|
<a href="http://www.crmeb.com">
|
||||||
1.域名/
|
<img src="https://img.shields.io/badge/Edition-5.0-blue.svg" />
|
||||||
|
</a>
|
||||||
|
<a href="https://gitee.com/ZhongBangKeJi/CRMEB/repository/archive/master.zip">
|
||||||
|
<img src="https://img.shields.io/badge/Download-50m-red.svg" />
|
||||||
|
</a>
|
||||||
|
<a href='https://gitee.com/ZhongBangKeJi/CRMEB/stargazers'>
|
||||||
|
<img src='https://gitee.com/ZhongBangKeJi/CRMEB/badge/star.svg?theme=gvp' alt='star'></img>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
安装过程中请牢记您的账号密码!
|
####
|
||||||
|
|
||||||
## 重新安装
|
<div align="center">
|
||||||
1. 清除数据库
|
|
||||||
2. 删除/public/install.lock 文件
|
|
||||||
|
|
||||||
## 手动安装
|
[官网](https://www.crmeb.com/) |
|
||||||
1.创建数据库,倒入数据库文件
|
[在线体验](http://v4.crmeb.net/admin/) |
|
||||||
数据库文件目录/public/install/crmeb.sql
|
[帮助文档](https://doc.crmeb.com/single/crmeb_v4) |
|
||||||
2.修改数据库连接文件
|
[技术社区](https://www.crmeb.com/ask/)
|
||||||
配置文件路径/.env
|
|
||||||
|
[comment]: <> ([宽屏预览](https://gitee.com/ZhongBangKeJi/CRMEB/blob/master/README.md))
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div align="center" >
|
||||||
|
<a href="https://gitee.com/ZhongBangKeJi/CRMEB/blob/master/README.md">宽 屏 预 览</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
### 介绍
|
||||||
|
CRMEB Admin框架采用TP6+Mysql+Element前后端分离全部100%开源。方便二开,更有详细使用文档、接口文档、数据字典、二开文档/视频教程。为开发者赋能,助力企业发展、国家富强,致力于打造最受欢迎的Admin框架项目
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 系统亮点
|
||||||
~~~
|
~~~
|
||||||
APP_DEBUG = true
|
多 语 言:后台随时配置语言包,移动端支持多语言切换;
|
||||||
|
高 性 能:redis缓存、队列、长连接、多种云储存、支持集群部署;
|
||||||
[APP]
|
个 性 UI:多种风格切换、支持DIY各种首页/专题页面
|
||||||
DEFAULT_TIMEZONE = Asia/Shanghai
|
前后端分离:后端TP6,管理端iviewui,移动端uniapp;
|
||||||
|
代码规范:遵循PSR-2命名规范、Restful标准接口、代码严格分层、注释齐全、统一错误码;
|
||||||
[DATABASE]
|
权限管理:内置强大灵活的权限管理,可以控制到每一个菜单;
|
||||||
TYPE = mysql
|
开发配置:低代码增加配置、系统组合数据模块;
|
||||||
HOSTNAME = 127.0.0.1 #数据库连接地址
|
二开效率:PHP快速生成表单、内置所有事件、后台在线编辑器、代码注释齐全、完整接口文档;
|
||||||
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
|
Nignx/Apache/IIS
|
||||||
## 消息队列
|
PHP 7.1 ~ 7.4
|
||||||
```sh
|
MySQL 5.7
|
||||||
php think queue:listen --queue
|
Redis
|
||||||
```
|
```
|
||||||
|
|
||||||
## 消息队列
|
|
||||||
```sh
|
|
||||||
php think queue:listen --queue
|
|
||||||
```
|
|
||||||
|
|
||||||
## 定时任务
|
|
||||||
在自动收货,库存预警等功能使用到
|
|
||||||
```sh
|
|
||||||
php think timer [ status ] [ --d ]
|
|
||||||
```
|
|
||||||
参数
|
|
||||||
- status: 状态
|
|
||||||
- start: 启动
|
|
||||||
- stop: 关闭
|
|
||||||
- restart: 重启
|
|
||||||
- --d : 后台执行
|
|
||||||
|
|
||||||
## 长连接服务
|
|
||||||
在h5聊天,后台管理员消息通知等功能使用到
|
|
||||||
```sh
|
|
||||||
php think workerman [ status ] [ --d ]
|
|
||||||
```
|
|
||||||
windows环境下需要分三步执行
|
|
||||||
```sh
|
|
||||||
# 内部通讯服务
|
|
||||||
php think workerman start --d
|
|
||||||
```
|
|
||||||
参数
|
|
||||||
- status: 状态
|
|
||||||
- start: 启动
|
|
||||||
- stop: 关闭
|
|
||||||
- restart: 重启
|
|
||||||
- --d : 后台执行
|
|
||||||
|
|
||||||
## 文档
|
|
||||||
|
|
||||||
[使用手册](https://doc.crmeb.com)
|
|
||||||
[TP6开发手册](https://www.kancloud.cn/manual/thinkphp6_0/content)
|
|
||||||
|
|
||||||
|
|
||||||
## 参与开发
|
### 系统演示
|
||||||
|
|
||||||
请参阅 [CRMEB](https://github.com/crmeb/CRMEB)。
|
|
||||||
|
|
||||||
## 版权信息
|
|
||||||
|
|
||||||
|
|
||||||
本项目包含的第三方源码和二进制文件之版权信息另行标注。
|
|
||||||
|
|
||||||
版权所有Copyright © 2017-2023 by CRMEB (http://www.crmeb.com)
|
管理后台: http://v5.crmeb.net/admin 账号:demo 密码:crmeb.com
|
||||||
|
|
||||||
All rights reserved。
|
|
||||||
|
|
||||||
CRMEB® 商标和著作权所有者为西安众邦网络科技有限公司。
|
|
||||||
|
|
||||||
|
### 官方论坛
|
||||||
|
|
||||||
|
|
||||||
|
产品BUG、优化建议,欢迎社区反馈:https://www.crmeb.com/ask/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### 推荐项目(欢迎合作,QQ:763569752 )
|
||||||
|
|
||||||
|
| 项目名称 | 关注量 | 项目介绍 |
|
||||||
|
| ------------ | ------------ | ------------ |
|
||||||
|
| [](https://gitee.com/ZhongBangKeJi/CRMChat) | [](https://gitee.com/ZhongBangKeJi/CRMChat/stargazers) | CRMChat客服系统,支持接入各种渠道. |
|
||||||
|
| [](https://gitee.com/ZhongBangKeJi/crmeb_java) | [](https://gitee.com/ZhongBangKeJi/crmeb_java/stargazers) | JAVA版开源商城. |
|
||||||
|
| [](https://gitee.com/xaboy/form-builder) | [](https://gitee.com/xaboy/form-builder/stargazers) | PHP表单生成器,快速生成现代化的form表单。 |
|
||||||
|
| [](https://gitee.com/layui/layui-vue) | [](https://gitee.com/layui/layui-vue/stargazers) | layui-vue(谐音:类UI)是一套Vue3.0 的桌面端组件库. |
|
||||||
|
| [](https://gitee.com/ntdgg/tpflow) | [](https://gitee.com/ntdgg/tpflow/stargazers) | TpFlow工作流引擎是一套规范化的流程管理系统,基于业务而驱动系统生命力的一套引擎. |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
欢迎反馈问题 [反馈问题](https://gitee.com/ZhongBangKeJi/CRMEB/issues)。
|
||||||
|
|
||||||
|
欢迎提交代码 [提交代码](https://gitee.com/ZhongBangKeJi/CRMEB/pulls)。
|
||||||
|
|
||||||
|
### 特别鸣谢
|
||||||
|
|
||||||
|
排名不分先后,感谢这些软件的开发者:thinkphp、vue、mysql、redis、echarts、tree-table-vue、swiper、form-create等,如有遗漏请联系我!
|
||||||
|
|
||||||
|
|
1
crmeb/.gitignore
vendored
Normal file
1
crmeb/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.log
|
120
crmeb/README.md
Normal file
120
crmeb/README.md
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
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
|
||||||
|
## 消息队列
|
||||||
|
```sh
|
||||||
|
php think queue:listen --queue
|
||||||
|
```
|
||||||
|
|
||||||
|
## 消息队列
|
||||||
|
```sh
|
||||||
|
php think queue:listen --queue
|
||||||
|
```
|
||||||
|
|
||||||
|
## 定时任务
|
||||||
|
在自动收货,库存预警等功能使用到
|
||||||
|
```sh
|
||||||
|
php think timer [ status ] [ --d ]
|
||||||
|
```
|
||||||
|
参数
|
||||||
|
- status: 状态
|
||||||
|
- start: 启动
|
||||||
|
- stop: 关闭
|
||||||
|
- restart: 重启
|
||||||
|
- --d : 后台执行
|
||||||
|
|
||||||
|
## 长连接服务
|
||||||
|
在h5聊天,后台管理员消息通知等功能使用到
|
||||||
|
```sh
|
||||||
|
php think workerman [ status ] [ --d ]
|
||||||
|
```
|
||||||
|
windows环境下需要分三步执行
|
||||||
|
```sh
|
||||||
|
# 内部通讯服务
|
||||||
|
php think workerman start --d
|
||||||
|
```
|
||||||
|
参数
|
||||||
|
- status: 状态
|
||||||
|
- start: 启动
|
||||||
|
- stop: 关闭
|
||||||
|
- restart: 重启
|
||||||
|
- --d : 后台执行
|
||||||
|
|
||||||
|
## 文档
|
||||||
|
|
||||||
|
[使用手册](https://doc.crmeb.com)
|
||||||
|
[TP6开发手册](https://www.kancloud.cn/manual/thinkphp6_0/content)
|
||||||
|
|
||||||
|
|
||||||
|
## 参与开发
|
||||||
|
|
||||||
|
请参阅 [CRMEB](https://github.com/crmeb/CRMEB)。
|
||||||
|
|
||||||
|
## 版权信息
|
||||||
|
|
||||||
|
|
||||||
|
本项目包含的第三方源码和二进制文件之版权信息另行标注。
|
||||||
|
|
||||||
|
版权所有Copyright © 2017-2023 by CRMEB (http://www.crmeb.com)
|
||||||
|
|
||||||
|
All rights reserved。
|
||||||
|
|
||||||
|
CRMEB® 商标和著作权所有者为西安众邦网络科技有限公司。
|
@ -61,10 +61,14 @@ class Article extends AuthController
|
|||||||
['id', 0],
|
['id', 0],
|
||||||
['cid', ''],
|
['cid', ''],
|
||||||
['title', ''],
|
['title', ''],
|
||||||
|
['en_title', ''],
|
||||||
['author', ''],
|
['author', ''],
|
||||||
|
['en_author', ''],
|
||||||
['image_input', ''],
|
['image_input', ''],
|
||||||
['content', ''],
|
['content', ''],
|
||||||
|
['en_content', ''],
|
||||||
['synopsis', 0],
|
['synopsis', 0],
|
||||||
|
['en_synopsis', 0],
|
||||||
['share_title', ''],
|
['share_title', ''],
|
||||||
['share_synopsis', ''],
|
['share_synopsis', ''],
|
||||||
['sort', 0],
|
['sort', 0],
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user