| 
 
 解压密码:
 
 
 演示地址:fk.wkgb.net     后台:https://fk.wkgb.net/admin/login.html   用户名:admin    密码:admin
 相关目录说明
 \application\common 接口目录
 application\templates 售卡模版目录
 application\templates\mobile 手机版售卡模版
 -----application\templates\mobile\shop\default
 application\templates\pc 电脑版售卡模版
 -----application\templates\pc\shop
 application\templates\pc\index\ 电脑首页模版 共有 4 套
 application\templates\mobile\index 手机首页模版 共有 4 套
 基于`Thinkphp5`开发的后台管理系统,集成后台系统常用功能。
 项目安装请参考`ThinkPHP`官方文档及下面的服务环境说明,数据库`sql`文件存放于项目根
 目录下。
 注意:项目测试请另行搭建环境并创建数据库(数据库配置`application/database.php`), 切
 勿直接使用测试环境数据!
 * 简易`RBAC`权限管理(用户、权限、节点、菜单控制)
 * 自建秒传文件上载组件(本地存储、七牛云存储,阿里云 OSS 存储)
 * 基站数据服务组件(唯一随机序号、表单更新)
 * `Http`服务组件(原生`CURL`封装,兼容 PHP 多版本)
 * 微信公众号服务组件,微信网页授权获取用户信息、已关注粉丝管理、自定义菜单管理等
 等)
 * 微信商户支付服务组件,支持 JSAPI 支付、扫码模式一支付、扫码模式二支付)
 * 更多组件开发中...
 定时任务:
 * * * * * cd /home/wwwroot/faka/ && php think AutoCash
 01 00 * * * cd /home/wwwroot/faka/ && php think UnfreezeMoney >> runtime/log/crontab.log
 付款成功后没有领取虚拟卡密信息
 ```
 服务器环境:
 * `PHP`版本不低于`PHP5.6`,推荐使用`PHP7`以达到最优效果
 * 项目运行需支持`PATHINFO`,项目不支持`ThinkPHP`的`URL`兼容模式运行
 * `Apache`:
 
 <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;
 }
 }
 ```
 温馨提示:
 有黑客团队对支付行业站点进行针对性的攻击,为了安全起见,请各位加强警戒以及防护!
 A:如果是阿里云机器的,请配置安骑士以及 WAF 防火。
 B:其它机器的可以购买安全产品例如(云盾,以及其它 WEB 应用防火墙)。
 C:通用方式:安装安全狗、云锁以及其它服务器防护软件。
 D:系统涉及资金安全的模块,关闭或者删除。
 E:服务器系统版本更新到最新的版本。
 F:让技术员对近期修改过的文件进行针对性分析,或者全局分析。
 感谢大家的支持。
 
 
 
 |