1 Star 0 Fork 0

hairi / apijson-php

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
route.php 1.13 KB
Copy Edit Raw Blame History
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// use think\Request;
Route::get('think', function () {
return 'hello,ThinkPHP5!';
});
// Route::get('get', function (Request $request) {
// return $request;
// });
Route::get('allProducts', 'index/allProducts');
Route::get('get', 'index/get');
Route::post('get', 'index/get');
Route::post('image', 'index/image');
Route::post('post', 'index/post');
Route::get('post', 'index/post');
Route::delete('delete', 'index/delete');
// Route::get('delete', 'index/delete');
Route::put('put', 'index/put');
Route::get('hello/:name', 'index/hello');
return [
];
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hairi/apijson-php.git
git@gitee.com:hairi/apijson-php.git
hairi
apijson-php
apijson-php
master

Search