添加对WPS绑定验证请求(bind事件)的处理
This commit is contained in:
@@ -99,6 +99,13 @@ if ($method == 'POST') {
|
||||
exit;
|
||||
}
|
||||
|
||||
// 检查是否是绑定验证请求
|
||||
if (isset($data['event']) && $data['event'] === 'bind') {
|
||||
log_message("收到绑定验证请求");
|
||||
echo json_encode(array('bind_code' => $bind_code));
|
||||
exit;
|
||||
}
|
||||
|
||||
// 处理实际的表单数据
|
||||
log_message("处理表单数据");
|
||||
log_message("原始表单数据: " . print_r($data, true), 'data');
|
||||
|
||||
Reference in New Issue
Block a user