This commit is contained in:
2020-09-25 15:37:33 +08:00
parent 4c9cff1687
commit 1fdc594cbb
3 changed files with 12 additions and 7 deletions
+5
View File
@@ -16,6 +16,11 @@ use Snowflake\Process\Process;
use Swoole\Coroutine;
use Swoole\WebSocket\Server;
defined('DB_ERROR_BUSY') or define('DB_ERROR', 'The database is busy. Please try again later.');
defined('SELECT_IS_NULL') or define('SELECT_IS_NULL', 'Query data does not exist, please check the relevant conditions.');
defined('PARAMS_IS_NULL') or define('PARAMS_IS_NULL', 'Required items cannot be empty, please add.');
class Snowflake
{