文档
测试

今日排班页-排班选机台

POST
http://huada.wisespin.cloud:8069/wsc/minip/schedule/chooseMachines

请求头

参数名
类型
描述
必填
content-type
string
application/json
必填

请求参数

参数名
类型
描述
必填
openid
str
openid
必填
unionid
int
unionid
必填
phone
str
手机
必填
schedule_id
int
排班ID (用户选择的排班)
必填
subordinate_id
int
班组长身份 才需要这个字段, 1 带 subordinate_id 字段, 则为 subordinate_id 选择机台,2 不带 subordinate_id, 为自己选择机台
必填
ids_add
list
增加的 机台 ID 列表
必填
ids_remove
list
删除的 机台 ID 列表
必填

响应参数

参数名
类型
描述
必填
flag
boolean
true or false
必填
msg
str
日志
必填
exists
list
已经被占有的机台
必填
machine_id
int
机台 ID
必填
name
string
显示名称
必填