最新在线工具箱网站系统源码

内容目录


一、详细介绍

系统内置高达72种站长工具、开发工具、娱乐工具等功能。此系统支持本地调用API,同时还自带免费API接口,

是一个多功能性工具程序,支持后台管理、上传插件、添加增减删功能。

环境要求:

PHP >= 7.4

MySQL >= 5.6

fileinfo 扩展

安装教程:

设置运行目录为 public

设置伪静态thinkphp 规则

访问 http://你的域名/install 进行安装

二、效果展示

1.部分代码

代码如下(示例):

php 复制代码
protected function initialize()
    {
        if (in_array(Request::action(), ['oauth', 'callback'])) {
            $this->mode = mb_strtolower(Request::param('mode', 'github'));
            if (!in_array($this->mode, get_enabled_oauth_mode())) {
                abort(400, '不支持该认证方式 ' . Str::studly($this->mode));
            }
            $class = '\\app\\lib\\oauth\\impl\\' . Str::studly($this->mode);
            if (!class_exists($class)) {
                abort(400, '不支持该认证方式 ' . Str::studly($this->mode));
            }
            $this->user = get_user();
            $this->instance = new $class((object)config_get("oauth.$this->mode."), (object)Request::param());
        }
    }


    public function oauth()
    {
        //绑定账号
        if (Request::param('action') === 'bind') {
            $this->user = get_user();
            if (!empty($this->user->oauth[$this->mode])) {
                return $this->callback_view('error', "已绑定,请勿重复绑定");
            }
            Session::set('BindAuth', true);
        }
        return $this->instance->oauth();
    }

2.效果图展示




三、学习资料下载

蓝奏云:https://qumaw.lanzoul.com/iS1ky1tu36oj

相关推荐
火柴就是我5 小时前
让我们实现一个更好看的内部阴影按钮
android·flutter
砖厂小工12 小时前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
张拭心12 小时前
春节后,有些公司明确要求 AI 经验了
android·前端·人工智能
张拭心13 小时前
Android 17 来了!新特性介绍与适配建议
android·前端
Kapaseker15 小时前
Compose 进阶—巧用 GraphicsLayer
android·kotlin
黄林晴15 小时前
Android17 为什么重写 MessageQueue
android
阿巴斯甜2 天前
Android 报错:Zip file '/Users/lyy/develop/repoAndroidLapp/l-app-android-ble/app/bu
android
Kapaseker2 天前
实战 Compose 中的 IntrinsicSize
android·kotlin
xq95272 天前
Andorid Google 登录接入文档
android
黄林晴2 天前
告别 Modifier 地狱,Compose 样式系统要变天了
android·android jetpack