价格: ¥ 99 积分可抵¥ 1
最后更新: 2019-12-15 20:55:43
演示地址: 无
安装费: 免费
调用地址:http(s)://jisutmscsb.market.alicloudapi.com/barcode/generate
请求方式:GET
返回类型:JSON
API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)
调试工具:去调试
无参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
barcode | STRING | 必选 | 条码号 |
dpi | STRING | 必选 | DPI |
fontsize | STRING | 必选 | 字号 |
height | STRING | 必选 | 高度 |
scale | STRING | 必选 | 比例 |
type | STRING | 必选 | 条码类型(EAN13, EAN8, CODE11, CODE128, CODE39, CODE93, CODE3, GS1128, I25, ISBN, MSI, UPCA, UPCE, CODEBAR等) |
无参数
curl -i -k --get --include 'https://jisutmscsb.market.alicloudapi.com/barcode/generate?barcode=6901236341056&dpi=72&fontsize=12&height=40&scale=2&type=ean13' -H 'Authorization:APPCODE 你自己的AppCode'
{
"status": "0",
"msg": "ok",
"result": {
"type": "BCGean13",
"fontsize": "12",
"dpi": "72",
"scale": "2",
"height": "40",
"barcode": "iVBORw0KGgoAAAANSUhEUgAAAM0AAABgCAIAAAAxXGEOAAA"//base64
}
}
无数据
错误码 | 错误信息 | 描述 |
---|---|---|
201 | Bar code type is not correct | 条码类型不正确 |
202 | Bar code number is empty | 条码号为空 |
203 | Bar code is not correct | 条码不正确 |
206 | Bar code address is not correct | 条码地址不正确 |
210 | No information | 没有信息 |
0 (0%) 好评 | 0 (0%) 中评 | 0 (0%) 差评 |