mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
修改添加分类
This commit is contained in:
parent
264bfc8e79
commit
89de83a4a5
@ -170,7 +170,7 @@ class SystemRouteServices extends BaseServices
|
||||
* @email 136327134@qq.com
|
||||
* @date 2023/4/11
|
||||
*/
|
||||
public function topCateId(string $app, string $cateName, int $pid)
|
||||
public function topCateId(string $app, string $cateName, int $pid = 0)
|
||||
{
|
||||
$oneId = app()->make(SystemRouteCateServices::class)->value(['app_name' => $app, 'name' => $cateName, 'pid' => 0], 'id');
|
||||
if (!$oneId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user