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

后端 未结 0 561
你的背包
你的背包 2021-02-10 02:35

Why this code does not work?

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


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