Add (article): ai gen, front views

This commit is contained in:
2023-09-24 22:53:40 +08:00
parent 18705bd5e4
commit 322d680961
115 changed files with 9710 additions and 201 deletions

View File

@@ -0,0 +1,13 @@
<?php
if (! function_exists('get_slack_channel_by_env')) {
function get_slack_channel_by_env($slack_channel = 'slack')
{
if (app()->environment() == 'local') {
return config("platform.notifications.{$slack_channel}.development_channel");
} else {
return config("platform.notifications.{$slack_channel}.production_channel");
}
}
}