Commit 67efed0e authored by 刘丹's avatar 刘丹

前端

parent 53f16bd4
...@@ -12,8 +12,8 @@ class Index { ...@@ -12,8 +12,8 @@ class Index {
return view('member/member',['title'=>'thinkphp']); return view('member/member',['title'=>'thinkphp']);
//$this->response('100',array(),'json'); //$this->response('100',array(),'json');
} }
public function home(){ public function preview_list(){
return view('member/home'); return view('member/preview_list');
//$this->response('100',array(),'json'); //$this->response('100',array(),'json');
} }
} }
\ No newline at end of file
...@@ -42,7 +42,7 @@ Route::rule(['/city/:name' => 'error/index'] , '' ,'GET');*/ ...@@ -42,7 +42,7 @@ Route::rule(['/city/:name' => 'error/index'] , '' ,'GET');*/
Route::group('index',[ Route::group('index',[
'member' => ['index/member.index/member',['method' => 'get']], 'member' => ['index/member.index/member',['method' => 'get']],
'home' => ['index/member.index/home',['method' => 'get']] 'preview_list' => ['index/member.index/preview_list',['method' => 'get']]
]); ]);
Route::group('api',[ Route::group('api',[
//get //get
......
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