Sen descrición

shish 2df144c489 ignore hai 1 ano
app-ghs 4fa682ebc4 更新 hai 1 ano
app-hd 7873a23849 打印标签去掉元 hai 1 ano
app-mall bea9adccda 打开限制 hai 1 ano
app-pt d10bc3ee39 更新版本 hai 1 ano
biz 8b106a6bf4 退回状态 hai 1 ano
biz-ghs 4d0b5460be 提示 hai 1 ano
biz-hd 8b106a6bf4 退回状态 hai 1 ano
biz-jd 1fcd472633 供货商 %!s(int64=3) %!d(string=hai) anos
biz-mall 777ea2d960 关闭不必要的短信通知 hai 1 ano
common 329f2740e7 上传 hai 1 ano
console 625b0c8a97 del hai 1 ano
doc 1fcd472633 供货商 %!s(int64=3) %!d(string=hai) anos
vendor 79e6b0237d 拉卡拉 %!s(int64=2) %!d(string=hai) anos
.bowerrc fe19d464ec update .gitignore %!s(int64=6) %!d(string=hai) anos
.env.example 1fcd472633 供货商 %!s(int64=3) %!d(string=hai) anos
.gitattributes a69fcf925c init %!s(int64=6) %!d(string=hai) anos
.gitignore 2df144c489 ignore hai 1 ano
.travis.yml a69fcf925c init %!s(int64=6) %!d(string=hai) anos
LICENSE.md a69fcf925c init %!s(int64=6) %!d(string=hai) anos
README.md b3d74cb721 README.md 文件更新 (框架相关的重要信息都在这里说明) %!s(int64=6) %!d(string=hai) anos
composer.json 69c6cbbcbf 产品 %!s(int64=2) %!d(string=hai) anos
composer.lock 05b9298f53 美团闪购 SDK 使用石中麒fork的SDK %!s(int64=4) %!d(string=hai) anos
env.php d352f757f5 使用 .env 来配置项目环境变量 %!s(int64=6) %!d(string=hai) anos
init a69fcf925c init %!s(int64=6) %!d(string=hai) anos
init.bat a69fcf925c init %!s(int64=6) %!d(string=hai) anos
update.bat 5fa41d4799 支付 %!s(int64=5) %!d(string=hai) anos
yii 175b71e542 chmod %!s(int64=6) %!d(string=hai) anos
yii.bat a69fcf925c init %!s(int64=6) %!d(string=hai) anos

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