描述
URL{你的ERP域名}/api_v2/pos/set_ps
HTTP请求方式post
是否需要登录false
字段 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
appid | true | string(16) | 应用ID(appId) |
sign | true | string(32) | 签名参数 |
pos_code | true | int | 收银机终端自主生成随机编码 |
pos_name | true | int | 收银机定义的自己名称,也可以在后台修改 |
stores_id | true | int | 选择的门店ID |
字段 | 类型及范围 | 说明 |
---|---|---|
pos_num | string | 收银终端编号 |
status | string | 状态 y=正确 n=失败 |
info | html | 提示信息 |
scale | html | 电子秤条码解析规则 |
is_auto_upg | int | 支持自动升级,1不支持/2支持 |
goods_max_point | int | 判断是否在客户端使用积分限额抵扣,1不支持/2支持 |
floataccuracy | int | 显示的小数精度位数 |
floataccuracy_moneysf | int | 1为4舍5入,2为舍去 |
monetary_symbol | string | 货币符号 默认¥ |
monetary_unit | string | 货币单位 默认元 |
apps | array | 已安装的插件/应用 |
other_set | array | 其他设置 |
member_base_set | array | 会员基础设置 |
wh_code | string | 门店编号 |
TIPS收银终端需要先注册获取pos_num以及后台相关的配置参数,pos_num信息应该保存在收银机本地,以后请求时需要使用这个pos_num识别收银机