Commit fb15d799 authored by hj's avatar hj

更新提交00

parent eb6c5aa4
...@@ -44,8 +44,9 @@ $api->version('v1', function($api) { ...@@ -44,8 +44,9 @@ $api->version('v1', function($api) {
}); });
$api->group(['namespace'=>'App\Http\Controllers\V1\Bhua','middleware' => ['maintenance','throttle:60,1','apiAuth','requestlogs'], 'providers' => 'jwt'], function($api) { $api->group(['namespace'=>'App\Http\Controllers\V1\Bhua','middleware' => ['maintenance','throttle:60,1','apiAuth','requestlogs'], 'providers' => 'jwt'], function($api) {
$api->post('/openapi/bhua/products/getAllBrands', ['permission' => 'orders.getAllBrands', 'uses'=>'ProductsController@getAllBrands']); $api->post('/openapi/bhua/products/getAllBrands', ['permission' => 'product.getAllBrands', 'uses'=>'ProductsController@getAllBrands']);
$api->post('/openapi/bhua/products/getProductsByBrandId', ['permission' => 'orders.getProductsByBrandId', 'uses'=>'ProductsController@getProductsByBrand']); $api->post('/openapi/bhua/products/getProductsByBrandId', ['permission' => 'product.getProductsByBrandId', 'uses'=>'ProductsController@getProductsByBrand']);
$api->post('/openapi/bhua/products/getBrandProductsDetail', ['permission' => 'product.getBrandProductDetail', 'uses'=>'ProductsController@getBrandProductDetail']);
}); });
$api->group(['namespace'=>'App\Http\Controllers\Internal\V1\Bhua','middleware' => ['maintenance','throttle:60,1','apiAuth','requestlogs'], 'providers' => 'jwt'], function($api) { $api->group(['namespace'=>'App\Http\Controllers\Internal\V1\Bhua','middleware' => ['maintenance','throttle:60,1','apiAuth','requestlogs'], 'providers' => 'jwt'], function($api) {
......
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