Ingen beskrivning

shish bda72ca3cc 支付 与 用户 5 år sedan
app-ghs 00c03db216 首页数据 5 år sedan
app-hd e479563b20 已经是员工判断 5 år sedan
app-mall f9c7916693 付款页 5 år sedan
app-pt 0fc174d91b 供货商列表 5 år sedan
biz 4393b98e36 名称调整 5 år sedan
biz-ghs 93ec84f103 增加分类ID 5 år sedan
biz-hd ad27492efd 员工修改名称 5 år sedan
biz-mall f9c7916693 付款页 5 år sedan
common bda72ca3cc 支付 与 用户 5 år sedan
console 4393b98e36 名称调整 5 år sedan
doc c949a122c6 名称变更 5 år sedan
vendor 0c0ac0d2fd 阿里云短信 5 år sedan
.bowerrc fe19d464ec update .gitignore 6 år sedan
.env.example 053449b892 员工 5 år sedan
.gitattributes a69fcf925c init 6 år sedan
.gitignore 56211e0228 字段调整 5 år sedan
.travis.yml a69fcf925c init 6 år sedan
LICENSE.md a69fcf925c init 6 år sedan
README.md b3d74cb721 README.md 文件更新 (框架相关的重要信息都在这里说明) 6 år sedan
composer.json 0c0ac0d2fd 阿里云短信 5 år sedan
composer.lock 0c0ac0d2fd 阿里云短信 5 år sedan
env.php d352f757f5 使用 .env 来配置项目环境变量 6 år sedan
init a69fcf925c init 6 år sedan
init.bat a69fcf925c init 6 år sedan
sql.sql 00c03db216 首页数据 5 år sedan
yii 175b71e542 chmod 6 år sedan
yii.bat a69fcf925c init 6 år sedan

README.md

Yii 2 框架环境说明

文件目录说明

common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
console
    config/              contains console configurations
    controllers/         contains console controllers (commands)
    migrations/          contains database migrations
    models/              contains console-specific model classes
    runtime/             contains files generated during runtime
backend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
frontend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains frontend widgets
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides
tests                    contains various tests for the advanced application
    codeception/         contains tests developed with Codeception PHP Testing Framework

创建.env文件

cp .env.example .env

1.数据库配置

DB_DSN='mysql:host=127.0.0.1;dbname=huahuibao' # ip地址;数据库名称
DB_USERNAME='root'  # 数据库用户名
DB_PASSWORD='353167' # 数据库密码

2.redis 配置

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null # 密码为空,请写上 null
REDIS_PORT=6379
REDIS_DB=0