sifangpay/鈻戔枔鈺枒.txt

47 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

在.env下配置好数据库
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=数据库名
DB_USERNAME=账号
DB_PASSWORD=密码
在当前目录下执行
composer dump-autoload
报错处理
找到文件 vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
找到对应行,修改为
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
然后清除下
php artisan cache:clear
生成密钥
php artisan key:generate
运行迁移文件,初始化数据库
php artisan migrate
最后执行
php artisan db:seed
采集地址
代理佣金自动结算:
你的域名/collect/merchant_comission
删除前一天未支付的订单:
你的域名/collect/order
15分钟未支付的取消订单
你的域名/collect/order_cancle
你可以挂个定时,也可以自己手动打开后台定时页面即可。不关闭就行。
如果使用宝塔的,可以使用定时任务开启下即可。
这里的登录密码:
admin
123456
演示SQL的账号
kongqi
kongqi1688