Aucune description

shish bb4f2ede47 Merge branch 'goodssn' into dev il y a 9 mois
app-ghs bb4f2ede47 Merge branch 'goodssn' into dev il y a 9 mois
app-hd 58cd1a8089 打印二次 il y a 9 mois
app-mall ac14668fa6 分类优化 il y a 9 mois
app-pt cc06a5d2d2 apk il y a 10 mois
biz 42eb4e2bd5 更新 il y a 10 mois
biz-ghs ddb85ad4f5 Merge branch 'zhongqi-delivery' into dev il y a 9 mois
biz-hd ac14668fa6 分类优化 il y a 9 mois
biz-jd 1fcd472633 供货商 il y a 4 ans
biz-mall bfcfc1c132 1. 花掌柜(app-hd) console/profile 接口更新 il y a 11 mois
common febc5c312b Merge branch 'zhongqi-delivery' into dev il y a 9 mois
console a0ba0eb341 买花成功通知 il y a 10 mois
doc 1fcd472633 供货商 il y a 4 ans
vendor 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 il y a 10 mois
.bowerrc fe19d464ec update .gitignore il y a 6 ans
.env.example bd9ded1c14 1. fix bug il y a 1 an
.gitattributes a69fcf925c init il y a 6 ans
.gitignore 2df144c489 ignore il y a 1 an
.travis.yml a69fcf925c init il y a 6 ans
IMPLEMENTATION_SUMMARY.md 070c244d9c 各平台接口实现中 il y a 9 mois
LICENSE.md a69fcf925c init il y a 6 ans
README.md 6ba58bbc51 测试 gogs webhook -- 9 il y a 1 an
composer.json 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 il y a 10 mois
composer.lock 01ab8fcae8 安装 phpunit/phpunit -- PHPUnit 7.5.20 il y a 10 mois
env.php c43b485d80 1. 关闭不必要的日志上下文变量(默认日志会记录 $_GET, $_POST, $_SESSION 等,这些可以通过配置文件中的 logVars 控制) il y a 1 an
init a69fcf925c init il y a 6 ans
init.bat a69fcf925c init il y a 6 ans
update.bat 5fa41d4799 支付 il y a 5 ans
yii 175b71e542 chmod il y a 6 ans
yii.bat a69fcf925c init il y a 6 ans

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