Sem descrição

shish bc4e67b8fc 上门 há 2 anos atrás
app-ghs 3932372581 查询 há 2 anos atrás
app-hd c497fd8809 修改客户信息 há 2 anos atrás
app-mall bc4e67b8fc 上门 há 2 anos atrás
app-pt e58a827aca 升级版本 há 2 anos atrás
biz 82a2924169 更新 há 2 anos atrás
biz-ghs 3306602a2b 提示 há 2 anos atrás
biz-hd d9ee6bc9d8 运费 há 2 anos atrás
biz-jd 1fcd472633 供货商 há 3 anos atrás
biz-mall 39a7a7a8cf 花材 há 2 anos atrás
common 9eafd2e067 申请设置订单页path信息 há 2 anos atrás
console 4c6cb50156 花材同步问题 há 2 anos atrás
doc 1fcd472633 供货商 há 3 anos atrás
vendor 79e6b0237d 拉卡拉 há 2 anos atrás
.bowerrc fe19d464ec update .gitignore há 6 anos atrás
.env.example 1fcd472633 供货商 há 3 anos atrás
.gitattributes a69fcf925c init há 6 anos atrás
.gitignore 56211e0228 字段调整 há 5 anos atrás
.travis.yml a69fcf925c init há 6 anos atrás
LICENSE.md a69fcf925c init há 6 anos atrás
README.md b3d74cb721 README.md 文件更新 (框架相关的重要信息都在这里说明) há 6 anos atrás
composer.json 05b9298f53 美团闪购 SDK 使用石中麒fork的SDK há 4 anos atrás
composer.lock 05b9298f53 美团闪购 SDK 使用石中麒fork的SDK há 4 anos atrás
env.php d352f757f5 使用 .env 来配置项目环境变量 há 6 anos atrás
init a69fcf925c init há 6 anos atrás
init.bat a69fcf925c init há 6 anos atrás
update.bat 5fa41d4799 支付 há 5 anos atrás
yii 175b71e542 chmod há 6 anos atrás
yii.bat a69fcf925c init há 6 anos atrás

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