定制 rapidez/multiple-wishlists 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rapidez/multiple-wishlists

最新稳定版本:4.2.1

Composer 安装命令:

composer require rapidez/multiple-wishlists

包简介

Rapidez Multiple Wishlist

关键字:

README 文档

README

Installation

composer require rapidez/multiple-wishlists

It's not recommended to publish every view, rather you should overwrite only the files necessary. However, you can still publish all of the views with the following command:

php artisan vendor:publish --provider="Rapidez\MultipleWishlist\MultipleWishlistServiceProvider" --tag=views

You also should probably add a new "wishlists" button to the Rapidez account menu, if you use it in your project (which is in rapidez/account/resources/views/partials/menu.blade.php)

API endpoints

The API uses mostly Laravel apiResource endpoints. All of the exposed endpoints can be found below. Note that every request except for GET /wishlists/shared/{token} requires a bearer token header for authorization. This is the magento oauth token of the customer.

Endpoint Parameters Description
GET /wishlists/ None Gets a list of all the customer's wishlists
POST /wishlists/
  • title
Creates a new wishlist with the given title
PATCH /wishlists/{id}
  • title(str, max 255)
  • description(str, max 65535)
  • share(bool)
Updates the data of a wishlist
DELETE /wishlists/{id} None Deletes a wishlist
GET /wishlists/shared/{token} None Gets a shared wishlist
Endpoint Parameters Description
POST /wishlists/item
  • wishlist_id(int)
  • product_id(int)
  • qty(int)
Adds a new item to the given wishlist
PATCH /wishlists/item/{id}
  • description(str, max 255)
  • qty(int)
Updates the data of an item
DELETE /wishlists/item/{id} None Deletes an item

统计信息

  • 总下载量: 2.74k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 4
  • 开发语言: Blade

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-02-27