Commit a57a1f3f authored by hangjun83's avatar hangjun83

百化产品接口更新

parent 7431c6c1
......@@ -26,53 +26,7 @@ class ProductsController extends Controller
$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)
{
$customerCode = $request->get('customer_code');
......
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