Compare commits
2 Commits
b0b9d3d241
...
d83e013c0c
Author | SHA1 | Date | |
---|---|---|---|
d83e013c0c | |||
c7550fbf3f |
|
@ -91,6 +91,11 @@ protected function ViewList(Request $request): Factory|View|Application|Redirect
|
|||
|
||||
protected function ViewCheck(Request $request): Factory|View|Application
|
||||
{
|
||||
// 检查是否存在含有未在本站分配位置
|
||||
$this->data['blog'] = DB::table('blog_link')
|
||||
->whereIn('blog_link.blogLocation',[0])
|
||||
->get()
|
||||
->toArray();
|
||||
return view('console.friends-link.check', $this->data);
|
||||
}
|
||||
|
||||
|
@ -106,6 +111,11 @@ protected function ViewSort(): Factory|View|Application
|
|||
|
||||
protected function ViewColor(): Factory|View|Application
|
||||
{
|
||||
return view('concole.friends-link.color',$this->data);
|
||||
return view('console.friends-link.color',$this->data);
|
||||
}
|
||||
|
||||
protected function apiConsoleAdd() {
|
||||
// 检查数据
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,5 +44,6 @@
|
|||
});
|
||||
Route::prefix('custom')->group(function () {
|
||||
Route::post('add',[Link::class,'apiCustomAdd'])->name('api.link.custom.add');
|
||||
Route::get('search',[Link::class, 'apiCustomSearch'])->name('api.link.custom.search');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user