GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ieclipsecn/Think.Admin: 基于 Thinkphp5 的后台管理系统

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

652 Commits
652 Commits

Folders and files

NameName
Last commit message
Last commit date
application
application
 
 
extend
extend
 
 
static
static
 
 
thinkphp
thinkphp
 
 
vendor
vendor
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.htaccess
.htaccess
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.cmd
build.cmd
 
 
composer.json
composer.json
 
 
index.php
index.php
 
 
think.admin.sql
think.admin.sql
 
 

Repository files navigation

Think.Admin

Think.Admin是一个基于Thinkphp5开发的后台管理系统,集成后台系统常用功能。

项目安装请参考ThinkPHP官方文档及下面的服务环境说明,数据库sql文件存放于项目根目录下。

注意:项目测试请另行搭建环境并创建数据库(数据库配置application/database.php), 切勿直接使用测试环境数据!

Think.Admin及微信开发技术交流QQ群 QQ群

Think.Admin开发手册 ( 撰写中 ) : http://doc.think.ctolog.com

Think.Admin已集成模块

  • 简易RBAC权限管理(用户、权限、节点、菜单控制)
  • 自建秒传文件上载组件(本地存储、七牛云存储,阿里云OSS存储)
  • 基站数据服务组件(唯一随机序号、表单更新)
  • Http服务组件(原生CURL封装,兼容PHP多版本)
  • 微信公众号服务组件(基于wechat-php-sdk,微信网页授权获取用户信息、已关注粉丝管理、自定义菜单管理等等)
  • 微信商户支付服务组件(基于wechat-php-sdk,支持JSAPI支付、扫码模式一支付、扫码模式二支付)
  • 测试公众号名称:思过崖思过 (大家可以关注它来进行简单的测试)
  • 更多组件开发中...

服务器环境

  • PHP版本不低于PHP5.4,推荐使用PHP7以达到最优效果
  • 项目运行需支持PATHINFO,项目不支持ThinkPHP的URL兼容模式运行(源于如何优雅的展示)
  • Apache:已在项目根目录加入.htaccess文件,只需开启rewrite模块
<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:配置参考下面的demo代码
server {
	listen 80;
	server_name wealth.demo.cuci.cc;
	root /home/wwwroot/Think.Admin;
	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;
	}
}

About

基于 Thinkphp5 的后台管理系统

think.ctolog.com

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.