合并伍总的修改:修正逻辑相反错误、优化逻辑

This commit is contained in:
Yu Sun
2022-08-12 13:56:35 +08:00
3 changed files with 17 additions and 21 deletions

View File

@@ -159,7 +159,7 @@ $worker -> onMessage = function(TcpConnection $connection, Request $request) {
], json_encode(array(
'action' => 'result_set_node_data',
'errcode' => 4002,
'errmsg' => '未登记过的工序单元!'
'errmsg' => '工序单元有误,请检查是否未指定或未登记'
)));
$connection -> send($response);
} else if ($data_capture -> check_res === 'MISMATCH_TYPE') {