zhanghao f1c2e96799 sengmessage | 4 years ago | |
---|---|---|
app | 4 years ago | |
bootstrap | 5 years ago | |
config | 4 years ago | |
database | 4 years ago | |
public | 4 years ago | |
resources | 4 years ago | |
routes | 4 years ago | |
storage | 4 years ago | |
tests | 5 years ago | |
.browserslistrc | 5 years ago | |
.editorconfig | 4 years ago | |
.env.example | 4 years ago | |
.eslintrc.js | 5 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 4 years ago | |
.styleci.yml | 5 years ago | |
LICENSE | 5 years ago | |
app-api.md | 5 years ago | |
artisan | 5 years ago | |
babel.config.js | 5 years ago | |
blu.jar | 5 years ago | |
composer.json | 4 years ago | |
package-lock.json | 5 years ago | |
package.json | 4 years ago | |
phpunit.xml | 5 years ago | |
postcss.config.js | 5 years ago | |
readme.md | 4 years ago | |
server.php | 5 years ago | |
vue.config.js | 5 years ago | |
yfjy_bike(御风嘉云)-2020-8-21.csv | 4 years ago | |
yfjy_bike(御风嘉云)-2020-8-21.sql | 4 years ago |
PC运维端:提供PC管理服务
开发语言: php
技术方案:主要采用 laravel 5.8.* + Vue2.* 基础框架做的二次开发。
依赖环境: PHP >= 7.0
OpenSSL PHP 扩展
PDO PHP 扩展
Mbstring PHP 扩展
Mongodb php扩展
*需要同一类目 *需要添加相同模板id
安装composer,并在跟目录下安装项目依赖包,命令如下
$ composer install
安装js依赖文件
yarn install && yarn build
生成JWT秘钥
php artisan jwt:secret
配置ngnix文件
# yarn build 之后的路径
location /admin/ {
try_files $uri $uri/ /admin/index.html;
}
# yarn dev 或者 yarn watch 之后的路径
location /admin-dev/ {
try_files $uri $uri/ /admin-dev/index.html;
}
# Laravel
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
配置任务调度
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
启动队列服务
php artisan queue:work