- 商城侧 - 后台
- 用户
- 商品
- 设置
- 营销
- 订单
- 分销
- 回调
- 供应商
- 门店
- 系统
- 财务
- 商城侧 - 门店
- 商城侧 - 收银台
- 商城侧 - 供应商
- 商城侧 - 客服
获取商品列表
GET
/adminapi/product/product
请求参数
Authorization
在 header 添加参数
Authori-Zation
示例:
Authori-Zation: ********************
Query 参数
page
string
分页
示例值:
1
limit
string
分页条数
示例值:
15
cate_id
string
分类ID
type
string
可选
示例值:
4
store_name
string
检索关键字
excel
string
可选
示例值:
0
supplier_id
string
可选
store_id
string
店铺ID
示例值:
2
v_drug_ident
string
可选
product_type
string
可选
示例值:
0
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/product/product?page=1&limit=15&cate_id=&type=4&store_name=&excel=0&supplier_id=&store_id=2&v_drug_ident=&product_type=0' \
--header 'Authori-Zation;'
返回响应
🟢200成功
application/json
Body
status
integer
必需
msg
string
必需
data
object
必需
list
array [object {90}]
必需
count
integer
必需
示例
{
"status": 200,
"msg": "ok",
"data": {
"list": [
{
"id": 4806,
"pid": 4782,
"type": 1,
"product_type": 99,
"relation_id": 2,
"mer_id": 0,
"image": "https://oss.tw-yun.com/beta/standard_library/product_img_v2/1004277/640bea36294da.jpg?v=0&x-oss-process=style/standard-img-thumbnail-800_800",
"recommend_image": "",
"slider_image": [
"https://oss.tw-yun.com/beta/standard_library/product_img_v2/1004277/640bea36294da.jpg?v=0&x-oss-process=style/standard-img-thumbnail-800_800",
"https://oss.tw-yun.com/beta/standard_library/product_img_v2/1004277/640bea3629566.jpg?v=0&x-oss-process=style/standard-img-thumbnail-800_800",
"https://oss.tw-yun.com/beta/standard_library/product_img_v2/1004277/640bea36295e2.jpg?v=0&x-oss-process=style/standard-img-thumbnail-800_800"
],
"store_name": "避孕套(爽滑平纹型) 3只",
"store_info": "",
"keyword": "",
"bar_code": "6938877602154",
"cate_id": "31",
"price": "10.00",
"vip_price": "0.00",
"ot_price": "0.00",
"postage": "0.00",
"delivery_type": [
"2",
"3"
],
"freight": 1,
"unit_name": "件",
"sort": 0,
"sales": 1,
"stock": "0",
"is_show": 1,
"is_hot": 0,
"is_benefit": 0,
"is_best": 0,
"is_new": 0,
"add_time": 1688714006,
"is_postage": 0,
"is_verify": 1,
"is_del": 0,
"mer_use": 0,
"give_integral": "0.00",
"cost": "10.00",
"is_seckill": 0,
"is_bargain": 0,
"is_good": 0,
"is_sub": 0,
"is_vip": 0,
"ficti": 0,
"browse": 0,
"code_path": "",
"soure_link": "",
"video_link": "",
"temp_id": 0,
"spec_type": 0,
"activity": "0,1,2,3",
"spu": "1025550554328",
"label_id": [],
"command_word": "",
"recommend_list": "",
"brand_id": 267,
"brand_com": "267",
"code": "TEST_1002096",
"is_vip_product": 0,
"is_presale_product": 0,
"presale_start_time": 0,
"presale_end_time": 0,
"presale_day": 0,
"auto_on_time": 0,
"auto_off_time": 0,
"custom_form": [],
"system_form_id": 0,
"applicable_type": 1,
"applicable_store_id": [],
"is_support_refund": 1,
"store_label_id": [],
"ensure_id": [],
"specs": [],
"specs_id": 0,
"is_limit": 0,
"limit_type": 0,
"limit_num": 0,
"refusal": "",
"is_police": 1,
"is_sold": 0,
"is_brokerage_ladder": 0,
"drug_attribute_item": {
"dosage": "",
"drug_ident": "1",
"indication": [],
"instruction_item": [],
"additional_info_item": [],
"drug_instruction_item": {
"alias": "",
"is_import": "0",
"is_liquid": "0",
"is_fragile": "0",
"license_no": "",
"control_type": "1",
"english_name": "",
"manufacturer": "湛江市汇通药业有限公司",
"package_spec": ",,",
"chinese_pinyin": "",
"place_of_origin": "",
"scientific_name": "",
"storage_condition": "1",
"chinese_pinyin_initials": "",
"transportation_condition": "1"
}
},
"standard_code": "1004277",
"v_drug_ident": 1,
"collect": 0,
"likes": 0,
"visitor": 1,
"branch_sales": 1,
"branch_stock": "0",
"cate_name": "计生用品/避孕套",
"stock_attr": false,
"plate_name": "门店:陈先生"
}
],
"count": 1
}
}