Нет описания

shizhongqi ab47e71077 分类弃用 flower 做区分 11 месяцев назад
app-ghs ab47e71077 分类弃用 flower 做区分 11 месяцев назад
app-hd ab47e71077 分类弃用 flower 做区分 11 месяцев назад
app-mall 9747d4c07c 1.新增oss文件删除接口 2.新增图文控制器与模型 3.GoodsController新增商品简介的CUR 4.common/base/models/Base.php 实现按设置查询字段 1 год назад
app-pt 4f29f380f4 更新版本 1 год назад
biz 7788b2d108 头像变小 1 год назад
biz-ghs c566dd2d9b 1. 批发端添加图文功能 -- 图文列表、购买须知 11 месяцев назад
biz-hd ab47e71077 分类弃用 flower 做区分 11 месяцев назад
biz-jd 1fcd472633 供货商 3 лет назад
biz-mall 9747d4c07c 1.新增oss文件删除接口 2.新增图文控制器与模型 3.GoodsController新增商品简介的CUR 4.common/base/models/Base.php 实现按设置查询字段 1 год назад
common c566dd2d9b 1. 批发端添加图文功能 -- 图文列表、购买须知 11 месяцев назад
console b9a090fd83 Merge branch 'master' into ls 1 год назад
doc 1fcd472633 供货商 3 лет назад
vendor 79e6b0237d 拉卡拉 2 лет назад
.bowerrc fe19d464ec update .gitignore 6 лет назад
.env.example 1fcd472633 供货商 3 лет назад
.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 9747d4c07c 1.新增oss文件删除接口 2.新增图文控制器与模型 3.GoodsController新增商品简介的CUR 4.common/base/models/Base.php 实现按设置查询字段 1 год назад
composer.lock 05b9298f53 美团闪购 SDK 使用石中麒fork的SDK 4 лет назад
env.php d352f757f5 使用 .env 来配置项目环境变量 6 лет назад
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