ThinkAdmin 插件生态
  1. PluginWemall
ThinkAdmin 插件生态
  • PluginAccount
    • 微信服务号登录
      POST
    • 微信小程序登录
      POST
    • 获取图形验证码
      POST
    • 发送短信验证码
      POST
    • 手机号短信登录
      POST
    • 获取用户资料 [ 会员 ]
      POST
    • 修改账号资料 [ 会员 ]
      POST
    • 终端绑定账号 [ 会员 ]
      POST
    • 解除账号绑定 [ 会员 ]
      POST
  • PluginPyament
    • 获取我的收货地址 [ 会员 ]
    • 添加修改收货地址 [ 会员 ]
    • 设置默认收货地址 [ 会员 ]
    • 删除我的收货地址 [ 会员 ]
  • PluginWemall
    • 获取配置数据
      GET
    • 获取页面配置
      GET
    • 获取轮播配置
      GET
    • 获取配送区域
      GET
    • 获取标签分类
      GET
    • 获取商品数据
      GET
    • 操作购物车数据 [ 会员 ]
      POST
    • 获取购物车数据 [ 会员 ]
      GET
    • 获取会员折扣 [ 会员 ]
      POST
    • 创建商城订单 [ 会员 ]
      POST
    • 计算快递费用 [ 会员 ]
      POST
    • 确认订单地址 [ 会员 ]
      POST
    • 获取支付通道 [ 会员 ]
      GET
    • 获取支付参数 [ 会员 ]
      POST
    • 取消初始订单 [ 会员 ]
      POST
    • 删除无效订单 [ 会员 ]
      POST
    • 确认订单收货 [ 会员 ]
      POST
    • 获取商城订单 [ 会员 ]
      GET
    • 获取订单统计 [ 会员 ]
      GET
    • 查询订单物流 [ 会员 ]
      POST
  1. PluginWemall

获取商品数据

GET
/plugin-wemall/api.goods/get
最后修改时间:2024-07-28 10:12:32

请求参数

Body 参数application/x-www-form-urlencoded
code
string 
商品编号.eq
必需
示例值:
G805055526897323
cates
string 
分类编号.like
必需
marks
string 
标签搜索.like
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev.v6.thinkadmin.top/plugin-wemall/api.goods/get' \
--data-urlencode 'code=G805055526897323' \
--data-urlencode 'cates=' \
--data-urlencode 'marks='

返回响应

🟢200成功
application/json
Body
code
integer 
必需
info
string 
必需
data
object 
必需
page
object 
必需
list
array [object {35}] 
必需
cnames
null 
必需
coupon
null 
必需
示例
{
  "code": 0,
  "info": "string",
  "data": {
    "page": {
      "limit": 0,
      "total": 0,
      "pages": 0,
      "current": 0
    },
    "list": [
      {
        "id": 0,
        "ssid": 0,
        "code": "string",
        "name": "string",
        "marks": [
          "string"
        ],
        "cates": {
          "id": 0,
          "pid": 0,
          "name": "string",
          "path": "string",
          "spc": 0,
          "spt": 0,
          "spl": "string",
          "spp": "string",
          "ids": [
            0
          ],
          "names": [
            "string"
          ]
        },
        "cover": "string",
        "slider": [
          "string"
        ],
        "specs": [
          {
            "name": "string",
            "list": [
              {
                "name": "string",
                "unid": "string",
                "check": true
              }
            ]
          }
        ],
        "content": "string",
        "remark": "string",
        "stock_total": 0,
        "stock_sales": 0,
        "stock_virtual": 0,
        "price_selling": "string",
        "price_market": "string",
        "allow_integral": "string",
        "allow_balance": "string",
        "rebate_type": 0,
        "delivery_code": "string",
        "limit_lowvip": 0,
        "limit_maxnum": 0,
        "level_agent": 0,
        "level_upgrade": 0,
        "discount_id": 0,
        "num_read": 0,
        "sort": 0,
        "status": 0,
        "deleted": 0,
        "create_time": "string",
        "update_time": "string",
        "comments_count": 0,
        "discount": null,
        "items": [
          {
            "gsku": "string",
            "ghash": "string",
            "gcode": "string",
            "gspec": "string",
            "gunit": "string",
            "gimage": "string",
            "stock_sales": 0,
            "stock_total": 0,
            "price_cost": "string",
            "price_selling": "string",
            "price_market": "string",
            "allow_integral": "string",
            "allow_balance": "string",
            "reward_balance": "string",
            "reward_integral": "string",
            "number_virtual": 0,
            "number_express": 0
          }
        ],
        "comments": [
          "string"
        ]
      }
    ],
    "cnames": null,
    "coupon": null
  }
}
上一页
获取标签分类
下一页
操作购物车数据 [ 会员 ]
Built with