返回 Skill 列表
extension
分类: 其它需要 API Key

kutesmart-海外运营平台工艺目录-按工艺 id、ecode、品类、款式或面料查询可选工艺

查询海外运营平台工艺目录、工艺价格、工艺冲突、衬类型、刺绣、商标组和工艺编码接口。用于按工艺 id、ecode、品类、款式或面料查询可选工艺,计算工艺价格并校验冲突;当用户要查工艺、工艺价格、工艺冲突、刺绣、商标组或衬类型时触发。

person作者: user_ac9585d3hubcommunity

kutesmart-海外运营平台工艺目录-按工艺 id、ecode、品类、款式或面料查询可选工艺

正式环境固定服务根地址:https://www.kutetailor.com/api/craft

由原 platform-fabric-craft 拆出,专注工艺查询、价格和冲突校验。

调用参数要求

{
  "params": {
    "action": "craft_by_ecode",
    "accessToken": "<access_token>",
    "ecode": "CFT001",
    "categoryId": 10001
  }
}

动作表

| action | 请求 | URL | 参数 | 返回 | 用途 | |---|---|---|---|---|---| | craft_by_id | GET | /craft/craft/getCraftById/{id} | Path:id | RS<CraftVO> | 根据工艺 id 查询。 | | craft_by_ecode | GET | /craft/craft/getCraftByEcode | Query:ecode | RS<CraftVO> | 根据工艺编码查询。 | | craft_by_ecode_category | GET | /craft/craft/getCraftByEcodeAndCategory | Query:craftCodecategory | RS<CraftVO> | 按编码和品类查询工艺。 | | craft_list | GET | /craft/craft/getCraftList | Query:craftIds | RS<List<StyleCraftVO>> | 批量查询工艺。 | | craft_price | POST | /craft-price/listCraftPrice | Body:CalCraftPriceRequest | RS<List<CalCraftPriceVO>> | 根据工艺 id 和币种查询价格。 | | craft_price_by_ids | POST | /craft-price/listCraftPriceByIds | Body:craftIds | RS<List<CalCraftPriceVO>> | 批量查询工艺价格。 | | craft_conflict_by_ids | POST | /craft/craft-conflict/selectConflictByCraftIds/{ids} | Path:ids,Body:冲突请求 | RS<List<CraftConflictedVO>> | 简定制获取冲突列表。 | | craft_conflict_by_ecode | GET | /craft/craft-conflict/selectConflictList/{ecode} | Path:ecode | RS<List<CraftConflictListVO>> | 按工艺编码查询冲突列表。 | | lining_type_by_category | GET | /craft-lining-type/getCraftLiningType | Query:category | List<CraftLiningType> | 查询品类衬类型。 | | embroidery_by_category | GET | /craft/craft-embroidery/selectEmbListByCategoryId | Query:categoryId | RS<List<EmbVO>> | 查询品类刺绣。 | | trademark_group | GET | /craft/craft-trademark-group/selectGroupList | Query:categoryIdmemberId | RS<List<AppCraftTrademarkGroupVO>> | 查询商标组。 |

推荐流程

  1. 用户给工艺编码时用 craft_by_ecodecraft_by_ecode_category
  2. 用户从款式详情选多个工艺时用 craft_list 补齐名称。
  3. 提交前用 craft_conflict_by_ids 校验冲突,再用 craft_price 计算价格。
  4. 刺绣和商标组按品类分别查询。

安全边界

  • 不维护工艺库、权限、审批、导入导出。
  • 有冲突时不要继续提交订单,必须让用户重新选择。

来源

| 项目 | 路径 | |---|---| | 工艺接口 | rcmtm-cloud-craft/src/main/java/com/kutesmart/cloud/craft/controller | | 接口清单 | doc/interface-list.md |