magdicom/laravel-test-initial
Composer 安装命令:
composer require magdicom/laravel-test-initial
包简介
Initial Test!
README 文档
README
Install fresh Laravel project, then add this package via composer:
composer require magdicom/laravel-test-initial:"*"
Optional Configuration
To publish the config file, run the following command:
php artisan vendor:publish --tag=test-initial-config
this will place testinitial.php file inside /config directory where you can specify discount per category/sku and currency.
API
Filter parameters are category, price_from and price_to, these parameters can be used individually or combined:
# All products
http://localhost/api/products
http://localhost/api/products?category=insurance
http://localhost/api/products?price_from=200000
http://localhost/api/products?price_to=90000
http://localhost/api/products?category=insurance&price_from=50000
http://localhost/api/products?price_from=150000&price_to=250000
Live Test
https://test-initial.momagdi.com/api/products
https://test-initial.momagdi.com/api/products?category=insurance
https://test-initial.momagdi.com/api/products?price_from=200000
https://test-initial.momagdi.com/api/products?price_to=90000
https://test-initial.momagdi.com/api/products?category=insurance&price_from=50000
https://test-initial.momagdi.com/api/products?price_from=150000&price_to=250000
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-09-15