正式环境固定服务根地址: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 | 根据工艺 id 查询。 |
craft_by_ecode | GET | /craft/craft/getCraftByEcode | Query:ecode | RS | 根据工艺编码查询。 |
craft_by_ecode_category | GET | /craft/craft/getCraftByEcodeAndCategory | Query:craftCode、category | RS | 按编码和品类查询工艺。 |
craft_list | GET | /craft/craft/getCraftList | Query:craftIds | RS | 批量查询工艺。 |
craft_price | POST | /craft-price/listCraftPrice | Body:CalCraftPriceRequest | RS | 根据工艺 id 和币种查询价格。 |
craft_price_by_ids | POST | /craft-price/listCraftPriceByIds | Body:craftIds | RS | 批量查询工艺价格。 |
craft_conflict_by_ids | POST | /craft/craft-conflict/selectConflictByCraftIds/{ids} | Path:ids,Body:冲突请求 | RS | 简定制获取冲突列表。 |
craft_conflict_by_ecode | GET | /craft/craft-conflict/selectConflictList/{ecode} | Path:ecode | RS | 按工艺编码查询冲突列表。 |
lining_type_by_category | GET | /craft-lining-type/getCraftLiningType | Query:category | List | 查询品类衬类型。 |
embroidery_by_category | GET | /craft/craft-embroidery/selectEmbListByCategoryId | Query:categoryId | RS | 查询品类刺绣。 |
trademark_group | GET | /craft/craft-trademark-group/selectGroupList | Query:categoryId、memberId | RS | 查询商标组。 |
craft_by_ecode 或 craft_by_ecode_category。craft_list 补齐名称。craft_conflict_by_ids 校验冲突,再用 craft_price 计算价格。| 项目 | 路径 |
|---|---|
| --- | --- |
| 工艺接口 | rcmtm-cloud-craft/src/main/java/com/kutesmart/cloud/craft/controller |
| 接口清单 | doc/interface-list.md |
共 3 个版本