条码打印模板管理
8 个接口(读 3 / 写 5) · 其中 1 个高危 · 凭证范围:查询需 config:read,写操作需 config:write
| 接口 | 编码 | 后端签名 | |
|---|---|---|---|
| POST | 创建模板 | config.srm.product-barcode-template.create | /v1/product/barcode-template/create |
| GET | 获取默认模板 | config.srm.product-barcode-template.default | /v1/product/barcode-template/default |
| POST 高危 | 删除模板 | config.srm.product-barcode-template.delete | /v1/product/barcode-template/delete |
| GET | 获取模板详情 | config.srm.product-barcode-template.detail | /v1/product/barcode-template/detail |
| GET | 获取模板列表 | config.srm.product-barcode-template.list | /v1/product/barcode-template/list |
| POST | 设为默认模板 | config.srm.product-barcode-template.set-default | /v1/product/barcode-template/set-default |
| POST | 切换启用状态 | config.srm.product-barcode-template.toggle | /v1/product/barcode-template/toggle |
| POST | 更新模板 | config.srm.product-barcode-template.update | /v1/product/barcode-template/update |
调用协议(各页通用)
本实体接口统一通过 POST https://open.risemap.cn/v1/api/invoke 调用,用 apiCode 指定接口。
JSON 响应为统一信封 { code, message, data },文件接口成功时直接返回文件;
错误码见错误码说明;凭证获取与调用协议见开放接口清单。
示例中的鉴权头为 OAuth 访问令牌形态;AppKey 集成商换成 -H "X-App-Key: <appKey>" -H "X-App-Secret: <appSecret>" 即可,其余不变。
所有调用以绑定员工身份执行,员工须具备对应主站功能权限(默认按后端接口 URL 自动对照,个别接口单独标注权限码)。
本页由接口注册表与后端接口规格自动生成。