登录
POST
http://47.253.69.73:8090/api/factory/v1/login
请求参数
application/json参数名
类型
描述
必填
phone_number
123456
必填
password
123456
必填
mac
00:E0:4C:75:C3:98
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:succeed!
必填
token
string
示例:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjU5NTQzNjYsIndvcmtlcl9pZCI6MSwid29ya190eXBlX2lkIjoxMywicGhvbmVfbnVtYmVyIjoiMTIzNDU2IiwibmFtZSI6ImNlc2hpIiwicGVybWlzc2lvbiI6MjAwLCJtYWMiOiIwMDpFMDo0Qzo3NTpDMzo5OCIsInN0YXRpb25faWQiOjgsInN0YXRpb25fZGVzYyI6IjLlj7flj5HotKfmnLoiLCJwcm9kdWNlX2ZhY3RvcnkiOjF9.yFSBiTqk3EBgX6DqxWGv5u49m7sLokyqCGOxTsTDvZ8
必填
permission
int
示例:200
必填
station_id
int
示例:8
必填
station_desc
string
示例:2号发货机
必填
width
int
示例:2340
必填
height
int
示例:2340
必填
x_step
int
示例:450
必填
scale
int
示例:100
必填
y_reserve_start
int
示例:50
必填
y_reserve_start_spray
int
示例:45
必填
y_reserve_end
int
示例:50
必填
y_reserve_end_spray
int
示例:-45
必填
x_offset
int
示例:0
必填
central_x
int
示例:1670
必填
central_y
int
示例:1170
必填
y_combind_len
int
示例:500
必填
com
string
示例:COM32
必填
labelX
int
示例:0
必填
labelY
int
示例:0
必填
labelYEnd
int
示例:0
必填
config_1
string
示例:0,0,0,0,0
必填
config_2
string
示例:0,0,0,0,0
必填
config_3
string
示例:0,0,0,0,0
必填
config_4
string
示例:0,0,0,0,0
必填
config_5
string
示例:0,0,0,0,0
必填
drive_name
string
示例:YW500
必填
width
int
示例:2592
必填
height
int
示例:1944
必填
factory_name
string
示例:无锡-中关村软件园-1号工厂
必填
factory_id
int
示例:1
必填