Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hj
openApi
Commits
a57a1f3f
Commit
a57a1f3f
authored
Mar 09, 2023
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百化产品接口更新
parent
7431c6c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
47 deletions
+1
-47
server/app/Http/Controllers/V1/Bhua/ProductsController.php
server/app/Http/Controllers/V1/Bhua/ProductsController.php
+1
-47
No files found.
server/app/Http/Controllers/V1/Bhua/ProductsController.php
View file @
a57a1f3f
...
@@ -26,53 +26,7 @@ class ProductsController extends Controller
...
@@ -26,53 +26,7 @@ class ProductsController extends Controller
$this
->
controllerType
=
'bh'
;
$this
->
controllerType
=
'bh'
;
}
}
/**
*
* @Post(
* path="/openapi/bhua/products/getAllBrands",
* tags={"百化 - 产品相关接口"},
* summary="获取品牌列表",
* description="获取品牌列表",
* @RequestBody(
* @MediaType(
* mediaType="application/json",
* @Schema(
* required={"pageSize", "pageNo"},
* @Property(property="pageSize", @Schema(type="integer"),description="返回数据集数量"),
* @Property(property="pageNo", @Schema(type="integer"),description="当前页数"),
* example={"pageSize" : 100, "pageNo" : 1}
* ),
* )
* ),
* @OA\Parameter(
* description="用户获取的token值",
* in="header",
* name="authorization",
* required=true,
* @OA\Schema(type="string"),
* @OA\Examples(example="authorization", value="bearerNWJiNDhkNzlmNjg0N2FlMmZiYjliZWM3NGVkNzIyMjNleUpsZUhCcGNtVWlPakUyTmpRMk1EazJORGNzSW1oaGMyZ2lPaUl5ZEhsc1JIQlhkWFpNUVdaWGJVRllJbjA9",summary=""),
* ),
* @AnnotationResponse(
* response="200",
* description="正常操作响应",
* @MediaType(
* mediaType="application/json",
* @Schema(
* allOf={
* @Schema(ref="#/components/schemas/ApiResponse"),
* @Schema(
* type="object",
* @Property(property="data", ref="#/components/schemas/BrandsList")
* )
* }
* )
* )
* ),
* security={
* {"bearer_token":{}}
* }
* )
*/
public
function
getAllBrands
(
Request
$request
)
public
function
getAllBrands
(
Request
$request
)
{
{
$customerCode
=
$request
->
get
(
'customer_code'
);
$customerCode
=
$request
->
get
(
'customer_code'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment