暫無描述

shish 5c043fc6f6 新订单通知 5 年之前
app-ghs 3fc7a4689f 门店同步问题 5 年之前
app-hd df58a1fd85 地址优化 5 年之前
app-mall fbfca12571 门店修改问题 5 年之前
app-pt 7d672c331b 审核失败原因 5 年之前
biz 5c043fc6f6 新订单通知 5 年之前
biz-ghs 5c043fc6f6 新订单通知 5 年之前
biz-hd df58a1fd85 地址优化 5 年之前
biz-mall df58a1fd85 地址优化 5 年之前
common ccf7d90b2b 运费 5 年之前
console 7d672c331b 审核失败原因 5 年之前
doc 4f8b9f4692 merchantId to sjId 5 年之前
vendor 46c182deab 调试 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 f566f0c6c2 语音播放 5 年之前
composer.lock f566f0c6c2 语音播放 5 年之前
env.php d352f757f5 使用 .env 来配置项目环境变量 6 年之前
init a69fcf925c init 6 年之前
init.bat a69fcf925c init 6 年之前
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