0
0

更新代码

This commit is contained in:
2020-08-04 10:26:39 +08:00
parent dfe2d107db
commit 4006bf8b42
5 changed files with 74953 additions and 0 deletions

53
.env Normal file
View File

@@ -0,0 +1,53 @@
APP_NAME=宝宝课
APP_ENV=local
APP_KEY=base64:XO8KSJXRH+O/mljQj4rID6VbUOnrmgXq/NpAmWZM6Tc=
APP_DEBUG=true
APP_URL=http://bbclass.shanyoubao.com
LOG_CHANNEL=daily
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=bbclass
DB_USERNAME=bbclass
DB_PASSWORD=8v3gtQpLHMvhnD9z
BROADCAST_DRIVER=redis
CACHE_DRIVER=redis
QUEUE_CONNECTION=database
SESSION_DRIVER=redis
SESSION_LIFETIME=525600
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
REDIS_DB=1
WECHAT_OFFICIAL_ACCOUNT_APPID=wxaa379c219e8013fc
WECHAT_OFFICIAL_ACCOUNT_SECRET=89dd3c66bcbced2bf8466b6c85029280
WECHAT_OFFICIAL_ACCOUNT_TOKEN=QLpHINKjm33RB3r4lLDfk9G3tc9m19ZU
WECHAT_OFFICIAL_ACCOUNT_AES_KEY=HDsZEkz7wZfSPhYf2NdRdEgp4PlNYU2V94TfHhy5wwV
WECHAT_MINI_PROGRAM_APPID=wxaa379c219e8013fc
WECHAT_MINI_PROGRAM_SECRET=
WECHAT_MINI_PROGRAM_TOKEN=
WECHAT_MINI_PROGRAM_AES_KEY=
WECHAT_PAYMENT_SANDBOX=false
WECHAT_PAYMENT_APPID=wxaa379c219e8013fc
WECHAT_PAYMENT_MCH_ID=1528648791
WECHAT_PAYMENT_KEY=CsCA9FwQScJOK1I7Wbr26P5948i6FUME
WECHAT_PAYMENT_CERT_PATH=/home/wwwroot/BabyClass//storage/certs/apiclient_cert.pem
WECHAT_PAYMENT_KEY_PATH=/home/wwwroot/BabyClass//storage/certs/apiclient_key.pem
WECHAT_PAYMENT_MINI_SANDBOX=false
WECHAT_PAYMENT_MINI_APPID=
WECHAT_PAYMENT_MINI_MCH_ID=
WECHAT_PAYMENT_MINI_KEY=
WECHAT_PAYMENT_MINI_CERT_PATH=/home/wwwroot/BabyClass//storage/certs/apiclient_cert.pem
WECHAT_PAYMENT_MINI_KEY_PATH=/home/wwwroot/BabyClass//storage/certs/apiclient_key.pem
DEBUGBAR_ENABLED=false
JWT_SECRET=VAYctgwkbYYz2gzWS4nC6ylGTT62opaT

53
artisan Normal file
View File

@@ -0,0 +1,53 @@
#!/usr/bin/env php
<?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/
require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Artisan Application
|--------------------------------------------------------------------------
|
| When we run the console application, the current CLI command will be
| executed in this console and the response sent back to a terminal
| or another output device for the developers. Here goes nothing!
|
*/
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
);
/*
|--------------------------------------------------------------------------
| Shutdown The Application
|--------------------------------------------------------------------------
|
| Once Artisan has finished running, we will fire off the shutdown events
| so that any final work may be done by the application before we shut
| down the process. This is the last thing to happen to the request.
|
*/
$kernel->terminate($input, $status);
exit($status);

69348
bbclass.sql Normal file

File diff suppressed because one or more lines are too long

77
composer.json Normal file
View File

@@ -0,0 +1,77 @@
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.1.3",
"fideloper/proxy": "^4.0",
"intervention/image": "^2.4",
"jacobcyl/ali-oss-storage": "^2.1",
"laravel/framework": "5.7.*",
"laravel/tinker": "^1.0",
"overtrue/laravel-follow": "^1.1",
"overtrue/laravel-wechat": "~4.0",
"predis/predis": "^1.1",
"rulong/areas": "^0.2.0",
"rulong/dwz-panel": "^2.0",
"rulong/order": "^0.6.0",
"rulong/sms": "~1.0.0",
"rulong/user-account": "^1.1",
"rulong/user-relation": "^1.5",
"simplesoftwareio/simple-qrcode": "^2.0",
"tymon/jwt-auth": "1.*@rc"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"xethron/migrations-generator": "^2.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/",
"RuLong\\Bonus\\": "packages/bonus/src/",
"RuLong\\Identity\\": "packages/identity/src/",
"RuLong\\Coupon\\": "packages/coupon/src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}

5422
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff