控制台应用程序

dev-master 2020-05-13 05:25 UTC

This package is not auto-updated.

Last update: 2024-09-26 12:20:49 UTC


README

  • 使用以下命令安装: composer require robertantonyjaikumar/people10
  • 复制 \People10\People10ServieProvider::class 并粘贴到 config/app.php 文件中
  • 运行 php artisan config:cache
  • 运行 php artisan vendor:publish 并发布 People10\People10ServieProvider
  • 运行 php artisan migrate
  • 在 .env 文件中添加应用程序基本 URL APP_URL

员工命令

  • 使用 php artisan employee:set {emp_id} {emp_name} {ip_address} 创建员工
  • 使用 php artisan employee:get {ip_address} 获取员工详情
  • 使用 php artisan employee:unset {ip_address} 删除员工

员工网页历史命令

  • 使用 php artisan employeeWebHistory:set {ip_address} {url} 创建员工
  • 使用 php artisan employeeWebHistory:get {ip_address} 获取员工详情
  • 使用 php artisan employeeWebHistory:unset {ip_address} 删除员工