Skip to content

Commit

Permalink
[更新]升级V4.0版本
Browse files Browse the repository at this point in the history
  • Loading branch information
zoujingli committed Apr 2, 2019
1 parent bf7571f commit 7270556
Show file tree
Hide file tree
Showing 939 changed files with 22,855 additions and 88,622 deletions.
3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

13 changes: 5 additions & 8 deletions .gitignore
@@ -1,11 +1,8 @@
!.gitignore
!.gitattributes
*.DS_Store
*.idea
*.svn
*.git
/.git
/.svn
/.idea
/runtime
/safefile
/nbproject
!composer.json
/composer.lock
/static/upload
/public/upload
20 changes: 0 additions & 20 deletions LICENSE

This file was deleted.

145 changes: 35 additions & 110 deletions README.md
@@ -1,124 +1,49 @@
ThinkAdmin for PHP
大道至简 · 原生框架
--
## 大道至简 · 悟在天成
framework 是一个基于 ThinkPHP5.1 开发的后台管理系统,集成常用功能及封装。

* ThinkAdmin 是一个基于 Thinkphp 5.1.x 开发的后台管理系统,集成后台系统常用功能。
* 项目安装及二次开发请参考 ThinkPHP 官方文档及下面的服务环境说明,数据库 sql 文件存放于项目根目录下。
>* 注意:项目测试请另行搭建环境并创建数据库(数据库配置 config/database.php), 切勿直接使用测试环境数据!
>* 如果系统提示“测试系统禁止操作等字样”,可以删除项目演示路由配置(route/demo.php)或清空里面的路由记录。
>* 当前版本使用 ThinkPHP 5.1.x 版本,对PHP版本要求不低于php5.6,具体请查阅ThinkPHP官方文档。
项目安装及二次开发可以参考 ThinkPHP 官方文档,数据库文件摆放在项目根目录下。

#### 注意事项
* 项目测试需要自行搭建环境导入数据库( framework.sql )并修改配置( config/database.php );
* 若操作提示“测试系统禁止操作”等字样,需要删除演示路由配置( route/demo.php )或清空路由文件;
* 当前版本使用 ThinkPHP5.1.x,对 PHP 版本标注不低于 PHP5.6,具体请阅读 ThinkPHP 官方文档;
* 环境需开启 PATHINFO,不再支持 ThinkPHP 的 URL 兼容模式运行(源于如何优雅的展示);

Documentation
技术支持
--
认真看看文档可能会对你的开发有所帮助哦
开发前认真阅读 ThinkPHP 官方文档会对您有帮助哦

文档地址:[ThinkAdmin 开发文档](https://www.kancloud.cn/zoujingli/thinkadmin/content)


PHP开发技术交流(QQ群 513350915)
PHP 开发技术交流( QQ 群 513350915)

[![PHP微信开发群 (SDK)](http://pub.idqqimg.com/wpa/images/group.png)](http://shang.qq.com/wpa/qunwpa?idkey=ae25cf789dafbef62e50a980ffc31242f150bc61a61164458216dd98c411832a)


Repositorie
代码仓库
--
ThinkAdmin 为开源项目,允许把它用于任何地方,不受任何约束,欢迎 fork 项目。
* Gitee 托管地址:https://gitee.com/zoujingli/Think.Admin
* GitHub 托管地址:https://github.com/zoujingli/ThinkAdmin

对于新版本的微信模块使用的是授权模式,需要用到 ThinkService 项目。
* Gitee 托管地址:https://gitee.com/zoujingli/ThinkService
* GitHub 托管地址:https://github.com/zoujingli/ThinkService

其安装与 ThinkAdmin 相似,这里就不多说了。具体可以参见微信开放平台官网
https://open.weixin.qq.com ,ThinkService 后台具体可以配置对应参数。

ThinkAdmin 与 ThinkService 对接是通过 WebService 通信的,因此运行环境需要安装 Soap 模块支持。


Module
framework 为 MIT 协议开源项目,安装使用或二次开发不受约束,欢迎 fork 项目。

部分代码来自互联网,若有异议可以联系作者进行删除。

* 在线体验地址:https://framework.thinkadmin.top (体验账号和密码都是 admin )
* Gitee仓库地址:https://gitee.com/zoujingli/ThinkAdmin
* GitHub仓库地址:https://github.com/zoujingli/ThinkAdmin

特别感谢
--
* 简易`RBAC`权限管理(用户、权限、节点、菜单控制)
* 自建秒传文件上载组件(本地存储、七牛云存储,阿里云OSS存储)
* 基站数据服务组件(唯一随机序号、表单更新)
* `Http`服务组件(原生`CURL`封装,兼容PHP多版本)
* 微信公众号服务组件(基于[WeChatDeveloper](https://github.com/zoujingli/WeChatDeveloper),微信网页授权获取用户信息、已关注粉丝管理、自定义菜单管理等等)
* 微信商户支付服务组件(基于[WeChatDeveloper](https://github.com/zoujingli/WeChatDeveloper),支持JSAPI支付、扫码模式一支付、扫码模式二支付)
* 更多组件开发中...


Environment
---
>1. PHP 版本不低于 PHP5.6,推荐使用 PHP7 以达到最优效果;
>2. 需开启 PATHINFO,不再支持 ThinkPHP 的 URL 兼容模式运行(源于如何优雅的展示)。
* Apache

```xml
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
```

* Nginx

```
server {
listen 80;
server_name wealth.demo.cuci.cc;
root /home/wwwroot/ThinkAdmin;
index index.php index.html index.htm;
add_header X-Powered-Host $hostname;
fastcgi_hide_header X-Powered-By;
if (!-e $request_filename) {
rewrite ^/(.+?\.php)/?(.*)$ /$1/$2 last;
rewrite ^/(.*)$ /index.php/$1 last;
}
location ~ \.php($|/){
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
set $real_script_name $fastcgi_script_name;
if ($real_script_name ~ "^(.+?\.php)(/.+)$") {
set $real_script_name $1;
}
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;
fastcgi_param PHP_VALUE open_basedir=$document_root:/tmp/:/proc/;
access_log /home/wwwlog/domain_access.log access;
error_log /home/wwwlog/domain_error.log error;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ {
access_log off;
error_log off;
expires 30d;
}
location ~ .*\.(js|css)?$ {
access_log off;
error_log off;
expires 12h;
}
}
```

Copyright
|名称|版本|描述|链接|
|---|---|---|---|
|Layui|2.4.5|UI组件库|https://github.com/sentsin/layui|
|Ckeditor|4.10.1|富文件编辑器|https://github.com/ckeditor/ckeditor-dev|
|PluPloader|3.1.2|文件上传工具1|https://github.com/fex-team/webuploader|
|WebUploader|0.1.5|文件上传工具2|https://github.com/fex-team/webuploader|
|Font-Awesome|4.7.0|字体图标库|https://github.com/FortAwesome/Font-Awesome|
|ThinkPHP|5.1.35|PHP基础框架|https://github.com/top-think/framework|
|ThinkLibrary|5.1.x-dev|ThinkPHP扩展组件|https://github.com/zoujingli/ThinkLibrary|
|WeChatDeveloper|1.2.9|微信公众号组件|https://github.com/zoujingli/WeChatDeveloper|
|WeOpenDeveloper|dev-master|微信开放平台组件|https://github.com/zoujingli/WeOpenDeveloper|

赞助打赏
--
* ThinkAdmin 基于`MIT`协议发布,任何人可以用在任何地方,不受约束
* ThinkAdmin 部分代码来自互联网,若有异议,可以联系作者进行删除
![赞助](http://zoujingli.oschina.io/static/pay.png)


Sponsor
--
![赞助](http://zoujingli.oschina.io/static/pay.png)

0 comments on commit 7270556

Please sign in to comment.