diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-10-27 17:45:01 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-10-27 17:45:01 +0800 |
| commit | 3aafc7f2769284c3afab4157863e93e44c571040 (patch) | |
| tree | 4e3036c1e7f0bb23e81a9fe7fbba6e4d99013c45 /crates/system_action/action_macros/src/lib.rs | |
| parent | 2954fc5ce35126e4cf9ebfc64043c0e52a990e01 (diff) | |
fixed: Incorrect condition setting for determining whether to send
parameters during `on_proc_begin`
Diffstat (limited to 'crates/system_action/action_macros/src/lib.rs')
| -rw-r--r-- | crates/system_action/action_macros/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/system_action/action_macros/src/lib.rs b/crates/system_action/action_macros/src/lib.rs index f65d424..4c03b63 100644 --- a/crates/system_action/action_macros/src/lib.rs +++ b/crates/system_action/action_macros/src/lib.rs @@ -67,6 +67,7 @@ fn generate_action_struct(input_fn: ItemFn, _is_local: bool) -> proc_macro2::Tok mut ctx: action_system::action::ActionContext, #arg_param_name: #arg_type ) -> Result<#return_type, tcp_connection::error::TcpTargetError> { + ctx.set_is_remote_action(!#_is_local); let args_json = serde_json::to_string(&#arg_param_name) .map_err(|e| { tcp_connection::error::TcpTargetError::Serialization(e.to_string()) |
