Нет описания

shizhongqi 21900b7e88 fix: 兼容前端,也让后端统一规范 10 месяцев назад
app-ghs 78795a20b4 批发端:微信支付宝扫码收款 10 месяцев назад
app-hd 21900b7e88 fix: 兼容前端,也让后端统一规范 10 месяцев назад
app-mall 21900b7e88 fix: 兼容前端,也让后端统一规范 10 месяцев назад
app-pt 0c34ed5097 选择 11 месяцев назад
biz ae0b7a25c3 头像 10 месяцев назад
biz-ghs 707d72de00 下单流程 10 месяцев назад
biz-hd 2709771ae4 fix bug: 无价格报价的键值是取前端的,有修改但没同步改到 10 месяцев назад
biz-jd 1fcd472633 供货商 3 лет назад
biz-mall 21900b7e88 fix: 兼容前端,也让后端统一规范 10 месяцев назад
common 8c3bf3e59f Merge branch 'zhongqi-chat' of git.huaml.com:zhh/huahuibao into zhongqi-chat 10 месяцев назад
console c745c2eaa6 更新脚本 11 месяцев назад
doc 1fcd472633 供货商 3 лет назад
vendor a2c7e110e1 删除安装包: jzweb/open-weixin mikemadisonweb/yii2-rabbitmq 11 месяцев назад
.bowerrc fe19d464ec update .gitignore 6 лет назад
.env.example bd9ded1c14 1. fix bug 11 месяцев назад
.gitattributes a69fcf925c init 6 лет назад
.gitignore 2df144c489 ignore 1 год назад
.travis.yml a69fcf925c init 6 лет назад
LICENSE.md a69fcf925c init 6 лет назад
README.md 6ba58bbc51 测试 gogs webhook -- 9 1 год назад
composer.json a2c7e110e1 删除安装包: jzweb/open-weixin mikemadisonweb/yii2-rabbitmq 11 месяцев назад
composer.lock a2c7e110e1 删除安装包: jzweb/open-weixin mikemadisonweb/yii2-rabbitmq 11 месяцев назад
env.php c43b485d80 1. 关闭不必要的日志上下文变量(默认日志会记录 $_GET, $_POST, $_SESSION 等,这些可以通过配置文件中的 logVars 控制) 11 месяцев назад
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

测试 gogs webhook -- 9