6
0
Fork 0
积趣 library 后台+接口
 
 
 
Go to file
Jing Li 4f547b475a Update 2023-11-13 11:36:58 +08:00
app Update 2023-11-13 11:36:58 +08:00
bootstrap init 2021-11-16 14:52:11 +08:00
config 小票机管理 2023-02-23 16:28:44 +08:00
database Update 2023-11-12 21:34:46 +08:00
deploy Update 2022-07-06 05:20:46 +00:00
docker init 2021-11-16 14:52:11 +08:00
public store excel 2023-02-15 11:53:38 +08:00
resources Update 2023-11-13 11:36:58 +08:00
routes store goods excel import 2023-02-08 18:15:47 +08:00
storage 下载商品末班 2022-05-20 10:34:36 +08:00
tests test 2023-10-23 21:51:38 +08:00
.editorconfig init 2021-11-16 14:52:11 +08:00
.env.example store goods excel import 2023-02-08 18:15:47 +08:00
.gitattributes init 2021-11-16 14:52:11 +08:00
.gitignore init 2021-11-16 14:52:11 +08:00
.php-cs-fixer.dist.php Update 2022-02-06 16:58:41 +08:00
Dockerfile Update Dockerfile 2022-02-24 10:54:49 +08:00
README.md config 2023-02-12 09:27:20 +08:00
artisan init 2021-11-16 14:52:11 +08:00
composer.json UserSeeder 2022-05-09 14:12:23 +08:00
composer.lock 商品导入 2022-05-17 14:18:52 +08:00
dcat_admin_ide_helper.php order-profit 2022-05-30 17:52:36 +08:00
docker-compose.yml Update dockerfile 2022-01-12 16:34:07 +08:00
phpunit.xml init 2021-11-16 14:52:11 +08:00
server.php init 2021-11-16 14:52:11 +08:00
worker.conf 移除分销 2022-04-27 15:22:41 +08:00

README.md

积趣商城

Require

  • php >= 8.1
  • php 函数: putenv, proc_open, symlink
  • php 扩展: fileinfo

Step

  • composer install
  • cp .env.example .env, 并修改配置文件
  • php artisan migrate --seed
  • php artisan storage:link
  • bootstrap/cache, storage 目录 需要写入权限

定时任务

[Liux:supervisor]

  • 自动取消未支付的订单: php artisan order:close-expired
  • 自动完成待收货的订单: php artisan order:complete
  • 生成订单的提成记录: php artisan order:distribute
  • 发放优惠券: php artisan admin-work:send-coupon
  • 自动发放订单提成: php artisan order:profit

支付佣金提成

  • 微信企业付款: 登录微信商户号 -> 选择产品中心 -> 企业付款 -> 付款发起方式 -> 配置服务器外网IP
  • 订单售后期结束后, 通过定时任务 php artisan order:profit, 自动发放
  • 后台 订单管理-提成管理 可手动发放