# ouhuang **Repository Path**: anannet_admin/ouhuang ## Basic Information - **Project Name**: ouhuang - **Description**: 欧皇商城 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-09-13 - **Last Updated**: 2023-09-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1.改env database配置 2.改时区 为PRC 3.composer.json添加自定义函数 autoload中添加file项,填写自定义函数的路径 "autoload": { "psr-4": { "App\\": "app/" }, "classmap": [ "database/seeds", "database/factories" ], "files": [ "app/helpers/functions.php" ] }, 完毕后需要:composer dump-autoload 4.存储资源resource与public关联 执行:php artisan storage:link 5.安装验证码插件 执行:composer require "mews/captcha" php artisan vendor:publish --provider='Mews\Captcha\CaptchaServiceProvider' config/captcha 内修改验证码配置 default length=4;或者字符更多一点 6.改配置文件config/database.php mysql=>prefix=>'your table prefix' 7.注册账号 浏览器输入http://yoururl/register 账号Admin 密码0000 8.去掉csrf验证 9.加入阿里短信 composer require alibabacloud/client