Nincs leírás

shish 8bbcfd01a6 来源暂时先去掉 4 éve
app-ghs 8f9d5ec161 花店 xhOrder 表的 onlinePay 字段是指:钱是否进入公司的帐户 -- 1不是 2是 -- (加错位置,修改下) 4 éve
app-hd 8bbcfd01a6 来源暂时先去掉 4 éve
app-mall 618cd3c516 管理 4 éve
app-pt 3fc56c0db9 提现管理员才通知 4 éve
biz a9315fb193 Merge branch 'master' of git.huaml.com:zhh/huahuibao 4 éve
biz-ghs c2fc6af224 欠款单时间拉长 4 éve
biz-hd cc5b535fa7 优惠 4 éve
biz-jd e0e0d15b09 admin 4 éve
biz-mall 5cb3ee0763 备注 4 éve
common f69577c609 提现金额 4 éve
console 3f7a108cd7 fix yii2 bug: in console, not exist getAbsoluteUrl function 4 éve
doc 1316a75fcd 开发规范 5 éve
vendor 3f7a108cd7 fix yii2 bug: in console, not exist getAbsoluteUrl function 4 éve
.bowerrc fe19d464ec update .gitignore 6 éve
.env.example 057b45ce8b 订单有效时长 4 éve
.gitattributes a69fcf925c init 6 éve
.gitignore 56211e0228 字段调整 5 éve
.travis.yml a69fcf925c init 6 éve
LICENSE.md a69fcf925c init 6 éve
README.md b3d74cb721 README.md 文件更新 (框架相关的重要信息都在这里说明) 6 éve
composer.json 06d6dc2cde 增加新的个推接口 4 éve
composer.lock 06d6dc2cde 增加新的个推接口 4 éve
env.php d352f757f5 使用 .env 来配置项目环境变量 6 éve
init a69fcf925c init 6 éve
init.bat a69fcf925c init 6 éve
update.bat 5fa41d4799 支付 5 éve
yii 175b71e542 chmod 6 éve
yii.bat a69fcf925c init 6 éve

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