Нема описа

shish a4a13e8a3c 订单 пре 4 година
app-ghs ab51725111 有效期 пре 4 година
app-hd 39b77b9797 orderType пре 4 година
app-mall 3b31b93075 改成单价等问题 пре 4 година
app-pt 27a7142fdb app 测试 пре 4 година
biz 7bead81118 账号 пре 4 година
biz-ghs a4a13e8a3c 订单 пре 4 година
biz-hd a4a13e8a3c 订单 пре 4 година
biz-mall 19e1eeb4de 不要加100块 пре 5 година
common a4a13e8a3c 订单 пре 4 година
console a4a13e8a3c 订单 пре 4 година
doc 1316a75fcd 开发规范 пре 5 година
vendor ffe6cefb16 app пре 4 година
.bowerrc fe19d464ec update .gitignore пре 6 година
.env.example 053449b892 员工 пре 5 година
.gitattributes a69fcf925c init пре 6 година
.gitignore 56211e0228 字段调整 пре 5 година
.travis.yml a69fcf925c init пре 6 година
LICENSE.md a69fcf925c init пре 6 година
README.md b3d74cb721 README.md 文件更新 (框架相关的重要信息都在这里说明) пре 6 година
composer.json 4bd0905d5b 条形码包引入 пре 4 година
composer.lock 4bd0905d5b 条形码包引入 пре 4 година
env.php d352f757f5 使用 .env 来配置项目环境变量 пре 6 година
init a69fcf925c init пре 6 година
init.bat a69fcf925c init пре 6 година
sql.txt ded656b52a 隐私协议 пре 4 година
update.bat 5fa41d4799 支付 пре 5 година
yii 175b71e542 chmod пре 6 година
yii.bat a69fcf925c init пре 6 година

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