Geen omschrijving

shish a2b0a366e7 花材 2 jaren geleden
app-ghs a2b0a366e7 花材 2 jaren geleden
app-hd 240edfd57b 确认发货 自动完成 2 jaren geleden
app-mall 1489966554 商城 2 jaren geleden
app-pt f6d3f19cfc 提示 2 jaren geleden
biz 59158cd1fd 供货商 2 jaren geleden
biz-ghs 240edfd57b 确认发货 自动完成 2 jaren geleden
biz-hd 4a69464e5f 汉字数限制 2 jaren geleden
biz-jd 1fcd472633 供货商 3 jaren geleden
biz-mall 39a7a7a8cf 花材 2 jaren geleden
common e9b27ac5bb 教程 2 jaren geleden
console d2e1e7c20a 恢复 2 jaren geleden
doc 1fcd472633 供货商 3 jaren geleden
vendor 79e6b0237d 拉卡拉 2 jaren geleden
.bowerrc fe19d464ec update .gitignore 6 jaren geleden
.env.example 1fcd472633 供货商 3 jaren geleden
.gitattributes a69fcf925c init 6 jaren geleden
.gitignore 56211e0228 字段调整 5 jaren geleden
.travis.yml a69fcf925c init 6 jaren geleden
LICENSE.md a69fcf925c init 6 jaren geleden
README.md b3d74cb721 README.md 文件更新 (框架相关的重要信息都在这里说明) 6 jaren geleden
composer.json 05b9298f53 美团闪购 SDK 使用石中麒fork的SDK 4 jaren geleden
composer.lock 05b9298f53 美团闪购 SDK 使用石中麒fork的SDK 4 jaren geleden
env.php d352f757f5 使用 .env 来配置项目环境变量 6 jaren geleden
init a69fcf925c init 6 jaren geleden
init.bat a69fcf925c init 6 jaren geleden
update.bat 5fa41d4799 支付 5 jaren geleden
yii 175b71e542 chmod 6 jaren geleden
yii.bat a69fcf925c init 6 jaren geleden

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