• 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
  • 相关阅读:
    测试打印功能
    绘图
    图片验证码
    图片防盗
    图片水印
    surface 译
    ViewManager 译
    WindowId 译
    Display
    LayoutParams
  • 原文地址:https://www.cnblogs.com/Mvloveyouforever/p/8076529.html
Copyright © 2020-2023  润新知