【问题标题】:Maintain Product Image URL in Moqui在 Moqui 中维护产品图片 URL
【发布时间】:2020-08-06 03:04:18
【问题描述】:

我们的产品特定图像位于 CDN,我们希望存储图像 URL。

我发现我们可以在 ProductContent 中使用图像类型 [PcntImageUrlOriginal] 执行此操作。我们有现成的服务吗?

【问题讨论】:

  • 你的意思是创建这个新的产品内容?

标签: moqui


【解决方案1】:

您可以使用内置的 crud 服务:

create#mantle.product.ProductContent 并将 contentLocation 设置为我猜的 url

以下不是一个选项,因为它接收文件的内容以及扩展名,但下面使用内置的 crud 服务。

mantle.product.ProductServices.create#ProductContent

在 mantle-usl/service/mantle/product/ProductServices.xml 中声明

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-09-06
    • 1970-01-01
    • 1970-01-01
    • 2020-06-22
    • 1970-01-01
    • 2014-06-12
    • 2018-03-02
    相关资源
    最近更新 更多