Skip to content

Commit

Permalink
1. 新增注册本地temp table
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz6chez committed Feb 26, 2024
1 parent f37a363 commit 726e1ac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Builders/Traits/MessageTempMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ trait MessageTempMethod
'requeue', 'pending', 'error'
];

/**
* 注册本地table
* @param string $table
* @return bool
*/
public function tempTableRegister(string $table): bool
{
if (!in_array($table, self::$_tables)) {
self::$_tables[] = $table;
return true;
}
return false;
}


/**
* 初始化temp
Expand Down

0 comments on commit 726e1ac

Please sign in to comment.