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

林琦海 7b6a4e28ea 零售端申请通过后增加初始化花材数据 5 жил өмнө
app-ghs 48981eed6c 兼容传参 5 жил өмнө
app-hd dd69cf52ba 零售端盘点 5 жил өмнө
app-mall f3c1cc30b3 处理不是你的订单问题 5 жил өмнө
app-pt eb4dc78d4d 删除2 5 жил өмнө
biz 7b6a4e28ea 零售端申请通过后增加初始化花材数据 5 жил өмнө
biz-ghs 1ae9f05818 资产变化 5 жил өмнө
biz-hd d25d64389a 审核 5 жил өмнө
biz-mall f824377579 获取用户信息 5 жил өмнө
common ea90b5df6d 显示最近访问的店铺 5 жил өмнө
console 510e5960d8 补回花材分类 5 жил өмнө
doc c949a122c6 名称变更 5 жил өмнө
vendor f4dffe8880 py 5 жил өмнө
.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 f4dffe8880 py 5 жил өмнө
composer.lock f4dffe8880 py 5 жил өмнө
env.php d352f757f5 使用 .env 来配置项目环境变量 6 жил өмнө
init a69fcf925c init 6 жил өмнө
init.bat a69fcf925c init 6 жил өмнө
sql.sql 59629c397a 门店保存图片 5 жил өмнө
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