|
@@ -19,12 +19,7 @@ $api->version('v1', [
|
|
|
//登录
|
|
|
|
|
|
//$api->post('login', 'AuthController@authenticate');
|
|
|
- //新增编辑
|
|
|
- $api->post('addShop', 'ShopController@addShop');
|
|
|
- //商户详情
|
|
|
- $api->post('shopView', 'ShopController@view');
|
|
|
- //商户列表
|
|
|
- $api->get('shopList', 'ShopController@list');
|
|
|
+
|
|
|
//登陆
|
|
|
$api->post('login', 'AuthController@login');
|
|
|
//获取商户信息
|
|
@@ -41,7 +36,13 @@ $api->version('v1', [
|
|
|
});
|
|
|
|
|
|
$api->group(['middleware' => 'jwt.chxq_auth'], function ($api) {
|
|
|
+ //新增编辑
|
|
|
+ $api->post('addShop', 'ShopController@addShop');
|
|
|
+ //商户列表
|
|
|
+ $api->get('shopList', 'ShopController@list');
|
|
|
//用户列表
|
|
|
+ //商户详情
|
|
|
+ $api->post('shopView', 'ShopController@view');
|
|
|
|
|
|
$api->get('user', 'UserController@index');
|
|
|
//用户列表
|