暫無描述

shish 845d2bc014 Merge branch 'master' into dev 2 月之前
app-ghs 845d2bc014 Merge branch 'master' into dev 2 月之前
app-hd 58a1be6a8a Merge branch 'master' into dev 2 月之前
app-mall 9c98f23bf8 Merge branch 'master' into dev 2 月之前
app-pt 0d9c49afef 更新 2 月之前
biz a015685136 Merge branch 'master' into dev 2 月之前
biz-ghs 8c0cf3a8f9 Merge branch 'master' into dev 2 月之前
biz-hd 6d0b9707c6 Merge branch 'master' into dev 2 月之前
biz-jd 1fcd472633 供货商 4 年之前
biz-mall 24865de9e9 app-hd console/profile 修改返回数据 2 月之前
common 4b3d8e9c39 Merge branch 'master' into dev 2 月之前
console 8c0cf3a8f9 Merge branch 'master' into dev 2 月之前
doc 1fcd472633 供货商 4 年之前
scripts 5ac38ec7c7 拉卡拉进行功能实现: 2 月之前
vendor 4b3d8e9c39 Merge branch 'master' into dev 2 月之前
.aiignore 3fc90b5ce4 更新 3 月之前
.bowerrc fe19d464ec update .gitignore 6 年之前
.cursorignore 3fc90b5ce4 更新 3 月之前
.env.example bd9ded1c14 1. fix bug 1 年之前
.gitattributes 0db56b8ca8 更新 3 月之前
.gitignore 97ae6a330f 更新 3 月之前
.travis.yml a69fcf925c init 6 年之前
.windsurfignore 3fc90b5ce4 更新 3 月之前
LICENSE.md a69fcf925c init 6 年之前
README.md 6ba58bbc51 测试 gogs webhook -- 9 1 年之前
composer.json 8581e14d23 使用私有 Git 仓库,把拉卡拉PHP SDK安装到 vender 下 2 月之前
composer.lock 5ac38ec7c7 拉卡拉进行功能实现: 2 月之前
env.php c43b485d80 1. 关闭不必要的日志上下文变量(默认日志会记录 $_GET, $_POST, $_SESSION 等,这些可以通过配置文件中的 logVars 控制) 1 年之前
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