Commit 7431c6c1 authored by hangjun83's avatar hangjun83

百化产品接口更新

parent ba1f3c39
...@@ -24,7 +24,7 @@ use OpenApi\Annotations\Items; ...@@ -24,7 +24,7 @@ use OpenApi\Annotations\Items;
* *
* @package App\Http\Responses * @package App\Http\Responses
*/ */
class ProductsList extends JsonResponse class BhuaProductsList extends JsonResponse
{ {
/** /**
* @Property( * @Property(
...@@ -49,7 +49,7 @@ class ProductsList extends JsonResponse ...@@ -49,7 +49,7 @@ class ProductsList extends JsonResponse
/** /**
* @Property( * @Property(
* type="array", * type="array",
* @Items(ref="#/components/schemas/ProductsDetailProperty") * @Items(ref="#/components/schemas/BhuaProductsDetailProperty")
* ) * )
* *
* @var array * @var array
......
...@@ -7,11 +7,11 @@ use OpenApi\Annotations\Property; ...@@ -7,11 +7,11 @@ use OpenApi\Annotations\Property;
/** /**
* @Schema( * @Schema(
* title="品牌详情内容", * title="品牌产品详情内容",
* description="品牌详情内容" * description="品牌产品详情内容"
* ) * )
*/ */
class ProductsDetailProperty class BhuaProductsDetailProperty
{ {
/** /**
* @Property( * @Property(
......
...@@ -132,7 +132,7 @@ class ProductsController extends Controller ...@@ -132,7 +132,7 @@ class ProductsController extends Controller
* @Schema(ref="#/components/schemas/ApiResponse"), * @Schema(ref="#/components/schemas/ApiResponse"),
* @Schema( * @Schema(
* type="object", * type="object",
* @Property(property="data", ref="#/components/schemas/ProductsList") * @Property(property="data", ref="#/components/schemas/BhuaProductsList")
* ) * )
* } * }
* ) * )
......
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