Sin descripción

shizhongqi dd7206b123 Merge branch 'chinese-calendar' of git.huaml.com:zhh/huahuibao into chinese-calendar hace 11 meses
app-ghs 873a67e9e4 数据统计 hace 11 meses
app-hd 5ff2f50693 重复充值问题 hace 11 meses
app-mall efa7cc0790 访问 hace 11 meses
app-pt b3c6403c49 安全验证 hace 11 meses
biz 5ff2f50693 重复充值问题 hace 11 meses
biz-ghs 873a67e9e4 数据统计 hace 11 meses
biz-hd d779272b48 1. 新装 overtrue/chinese-calendar hace 11 meses
biz-jd 1fcd472633 供货商 hace 3 años
biz-mall d779272b48 1. 新装 overtrue/chinese-calendar hace 11 meses
common d779272b48 1. 新装 overtrue/chinese-calendar hace 11 meses
console a96f6ce5a3 停掉二个欠款脚本 hace 1 año
doc 1fcd472633 供货商 hace 3 años
vendor c2b54957e9 测试环境把composer 对php版本限制要求去除 hace 11 meses
.bowerrc fe19d464ec update .gitignore hace 6 años
.env.example 1fcd472633 供货商 hace 3 años
.gitattributes a69fcf925c init hace 6 años
.gitignore 2df144c489 ignore hace 1 año
.travis.yml a69fcf925c init hace 6 años
LICENSE.md a69fcf925c init hace 6 años
README.md 6ba58bbc51 测试 gogs webhook -- 9 hace 1 año
composer.json 01662f14ab composer config platform-check false hace 11 meses
composer.lock d779272b48 1. 新装 overtrue/chinese-calendar hace 11 meses
env.php d779272b48 1. 新装 overtrue/chinese-calendar hace 11 meses
init a69fcf925c init hace 6 años
init.bat a69fcf925c init hace 6 años
update.bat 5fa41d4799 支付 hace 5 años
yii 175b71e542 chmod hace 6 años
yii.bat a69fcf925c init hace 6 años

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

测试 gogs webhook -- 9