|
@@ -39,12 +39,12 @@ $api->version('v1', [
|
|
//新增编辑
|
|
//新增编辑
|
|
$api->post('addShop', 'ShopController@addShop');
|
|
$api->post('addShop', 'ShopController@addShop');
|
|
//编辑
|
|
//编辑
|
|
- $api->post('editShop', 'ShopController@editShop');
|
|
|
|
|
|
+ $api->put('editShop', 'ShopController@editShop');
|
|
//商户列表
|
|
//商户列表
|
|
$api->get('shopList', 'ShopController@list');
|
|
$api->get('shopList', 'ShopController@list');
|
|
//用户列表
|
|
//用户列表
|
|
//商户详情
|
|
//商户详情
|
|
- $api->post('shopView', 'ShopController@view');
|
|
|
|
|
|
+ $api->get('shopView', 'ShopController@view');
|
|
|
|
|
|
$api->get('user', 'UserController@index');
|
|
$api->get('user', 'UserController@index');
|
|
//用户列表
|
|
//用户列表
|