猜你喜欢
GET
/api/goods/likeLists
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/goods/likeLists'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
array [object {11}]
必需
id
integer
商品ID
name
string
商品名称
code
string
商品编码
unit_id
integer
单位id
unit_desc
string
单位
image
string
商品图片
net_weight
string
净含量
sales_num
integer
销量
sell_price
string
价格
lineation_price
string
划线价
stock
integer
库存
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": [
{
"id": 2,
"name": "上海青",
"code": "dbc-123457",
"unit_id": 1,
"image": "http://www.sqtg.localhost/resource/image/adminapi/default/avatar.png",
"net_weight": "",
"sales_num": 32,
"sell_price": "15.00",
"lineation_price": "20.00",
"stock": 88,
"unit_desc": "单位1"
}
]
}
修改于 2022-12-23 10:08:54