接口地址:https://test.birdsystem.com/client/Printer/Product-Barcode-List-By-Product-Id/
...
参数名 | 类型 | 描述 |
row_count | int | 返回条码布局:行 可不传,默认为1 |
col_count | int | 返回条码布局:列 可不传,默认为1 |
width | float | 条码宽度(可不传,默认50mm) |
height | float | 条码高度(可不传,默认25mm) |
row_padding | float | 行间距(可不传,默认为0) |
col_padding | float | 列间距(可不传,默认为0) |
label_type_use_pdf | bool | 返回pdf格式条码(建议为true,打印会更清晰) |
numberfield-1602-inputEl | int | 批量修改数量(可不传,数量可由item_num_list的值控制) |
print_name | bool | 打印产品名(可不传,默认为0) |
item_num_list[product_id]list%5B产品id%5D | int | 产品ID必填 |
label_type | str | 只支持填写pdf 必填 |
请求示例:
Code Block |
---|
POST https://test.birdsystem.com/client/Printer/Product-Barcode-List-By-Product-Id/ Host: test.birdsystem.com row_count=1&col_count=1&width=50&height=25&row_padding=0&col_padding=0&label_type_use_pdf=false&numberfield-1688-inputEl=2&print_name=false&=pdf&item_num_list%5B3008810%5Dlist%5B569%5D=12&itemapi_num_list%5B3008805%5Dkey=1020a0be319fab945178013caa0f0a6db&itemcompany_num_list%5B3008803%5D=1&item_num_list%5B3008802%5D=1&item_num_list%5B3008801%5D=1id=36 |