首次提交 Laravel 專案
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace App\Services;
|
||||
|
||||
use App\Models\tg_comm;
|
||||
|
||||
class TgComm
|
||||
{
|
||||
public static function TgComm($data){
|
||||
tg_comm::TgComm2Arr();
|
||||
$tg_comm = include Storage::disk('dataconfig')->path('tg_comm.php');
|
||||
$TgComm = array_column($tg_comm, 'command');
|
||||
return $TgComm;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user