How to update upload an image and save in database with storage?

后端 未结 0 467
时光说笑
时光说笑 2021-02-10 02:48

Why this code does not work?

public function update(Request $request, Category $category)
{
    $path = null;
    if ($request->hasFile(\'image\'))
    {
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题