beehexa/module-improvedimageapi

更新产品时更新图片的时间戳

安装: 1

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module

1.0.0 2021-04-12 11:22 UTC

This package is auto-updated.

Last update: 2024-09-12 19:33:54 UTC


README

``beehexa/module-improvedimageapi``

主要功能

更新产品时更新图片的时间戳

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1: Zip 文件

  • 将 zip 文件解压到 app/code/Beehexa
  • 通过运行 php bin/magento module:enable Beehexa_ImprovedImageApi 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2: Composer

  • 将模块添加到 composer 仓库中,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共 GitHub 仓库作为 vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 仓库添加到配置中
  • 通过运行 composer require beehexa/module-improvedimageapi 安装模块 composer
  • 通过运行 php bin/magento module:enable Beehexa_ImprovedImageApi 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

规格

  • 插件

    • aroundSaveDataRow - Magento\Catalog\Model\ResourceModel\Product\Gallery > Beehexa\ImprovedImageApi\Plugin\Magento\Catalog\Model\ResourceModel\Product\Gallery
  • 插件

    • aroundDeleteGallery - Magento\Catalog\Model\ResourceModel\Product\Gallery > Beehexa\ImprovedImageApi\Plugin\Magento\Catalog\Model\ResourceModel\Product\Gallery

属性