新增前缀获取
This commit is contained in:
parent
5ac51366f2
commit
bfc576b437
@ -107,4 +107,15 @@ class Utils
|
|||||||
|
|
||||||
return [$module, $controllerName, $action];
|
return [$module, $controllerName, $action];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 表前缀
|
||||||
|
*
|
||||||
|
* @time 2020年05月22日
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function tablePrefix()
|
||||||
|
{
|
||||||
|
return \config('database.connections.mysql.prefix');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user