# Core **Repository Path**: wucanheng/Core ## Basic Information - **Project Name**: Core - **Description**: No description available - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-11 - **Last Updated**: 2022-02-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 核心模块 * log sql service provider * Helpers/Function.php * ResponesTraits * notify dingding #### log sql service provider 开启sql日志监听 .env ``` CORE_SQL_LOG=true ``` #### Function 如何添加自定义function? 修改`module.json` ``` "files": [ "start.php", "Helpers/Function.php" ], ``` #### ResponesTraits 计划用于继承控制器 规范控制异步返回数据 #### dingding add alias ``` 'Dingding' => Modules\Core\Facades\Dingding::class, ``` sendmessage ``` \Dingding::text('notfyt message') \Dingding::webhook('default')->text('happy now?') ```