Commit 072591e2 by 庄欣

Update ApiList

parent 154db769
......@@ -126,4 +126,10 @@ Route::group(["prefix" => "category", 'namespace' => Provider::getNamespace("cat
Route::group(["prefix" => "city", 'namespace' => Provider::getNamespace("city")],function() {
//列表
Route::get("/", "City@index");
//上一级信息
Route::get("/{id}/parent","City@getParent");
//获取详细信息
Route::get("/{id}","City@show")->where(['id'=>'\d+']);
//获取中国的ID
Route::get("/china","City@china");
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment