Тайлбар байхгүй

shish 06e5569fd0 去掉输出 4 жил өмнө
app-ghs 20c5f2ffb7 更名提示 4 жил өмнө
app-hd 51faf574f2 会员码 4 жил өмнө
app-mall b91432cc6a 注册会员码 4 жил өмнө
app-pt 29d924ad65 临时关闭不能给自己零售店开单 4 жил өмнө
biz c23f597609 报损 4 жил өмнө
biz-ghs c23f597609 报损 4 жил өмнө
biz-hd 19e9776664 下单和制作单流程优化 4 жил өмнө
biz-jd e0e0d15b09 admin 4 жил өмнө
biz-mall c085ef04af openId 4 жил өмнө
common 06e5569fd0 去掉输出 4 жил өмнө
console c23f597609 报损 4 жил өмнө
doc 1316a75fcd 开发规范 5 жил өмнө
vendor d39e7fe89e shish ssh 4 жил өмнө
.bowerrc fe19d464ec update .gitignore 6 жил өмнө
.env.example 057b45ce8b 订单有效时长 4 жил өмнө
.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 ba21b313b5 getui 4 жил өмнө
composer.lock ba21b313b5 getui 4 жил өмнө
env.php d352f757f5 使用 .env 来配置项目环境变量 6 жил өмнө
init a69fcf925c init 6 жил өмнө
init.bat a69fcf925c init 6 жил өмнө
sql.sql 39bbad39f3 名称修改 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