zoukankan      html  css  js  c++  java
  • php学习笔记

    1, 自动创建控制器:

    php artisan make:controller Photo/PhotoController

    资源控制器处理的行为

    动词路径动作路由名称
    GET /resource index resource.index
    GET /resource/create create resource.create
    POST /resource store resource.store
    GET /resource/{resource} show resource.show
    GET /resource/{resource}/edit edit resource.edit
    PUT/PATCH /resource/{resource} update resource.update
    DELETE /resource/{resource} destroy resource.destroy
  • 相关阅读:
    杂记
    [POI2015]PUS
    CF786B Legacy(线段树优化建图)
    SP11470 TTM
    [WC2010]重建计划
    [HNOI2014]世界树
    luogu P4842 城市旅行
    [SDOI2016]征途
    [APIO2014]序列分割
    上下界网络流构图证明
  • 原文地址:https://www.cnblogs.com/Mvloveyouforever/p/8076529.html
Copyright © 2011-2022 走看看