Không có mô tả

shish 9717242a65 花材退货与多颜色 6 tháng trước cách đây
app-ghs 9717242a65 花材退货与多颜色 6 tháng trước cách đây
app-hd 52a3d33ffc 减少余额 6 tháng trước cách đây
app-mall de3ec11620 更新 6 tháng trước cách đây
app-pt 0581a04b98 更新 6 tháng trước cách đây
biz 70acc3b77a 删除xj 7 tháng trước cách đây
biz-ghs 9717242a65 花材退货与多颜色 6 tháng trước cách đây
biz-hd 9717242a65 花材退货与多颜色 6 tháng trước cách đây
biz-jd 1fcd472633 供货商 3 năm trước cách đây
biz-mall 7f0395a9ed 红包字段 7 tháng trước cách đây
common de3ec11620 更新 6 tháng trước cách đây
console c95ee4d7bd 更新 7 tháng trước cách đây
doc 1fcd472633 供货商 3 năm trước cách đây
scripts 46b608cad1 1. 为app-ghs/controllers/OrderController.php 和 app-ghs/models/order/CreateOrderForm.php的ctionCreateOrder 创建表单验证方法 7 tháng trước cách đây
vendor 329daa49c8 rabbitMQ 8 tháng trước cách đây
.bowerrc fe19d464ec update .gitignore 6 năm trước cách đây
.env.example bd9ded1c14 1. fix bug 11 tháng trước cách đây
.gitattributes a69fcf925c init 6 năm trước cách đây
.gitignore 2df144c489 ignore 1 năm trước cách đây
.travis.yml a69fcf925c init 6 năm trước cách đây
LICENSE.md a69fcf925c init 6 năm trước cách đây
README.md 6ba58bbc51 测试 gogs webhook -- 9 1 năm trước cách đây
composer.json 329daa49c8 rabbitMQ 8 tháng trước cách đây
composer.lock 329daa49c8 rabbitMQ 8 tháng trước cách đây
env.php c43b485d80 1. 关闭不必要的日志上下文变量(默认日志会记录 $_GET, $_POST, $_SESSION 等,这些可以通过配置文件中的 logVars 控制) 11 tháng trước cách đây
init a69fcf925c init 6 năm trước cách đây
init.bat a69fcf925c init 6 năm trước cách đây
update.bat 5fa41d4799 支付 5 năm trước cách đây
yii 175b71e542 chmod 6 năm trước cách đây
yii.bat a69fcf925c init 6 năm trước cách đây

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