b2c.goods.get_specs 获取规格信息

author: danny,danny@shopex.cn

2014-06-19

API应用级输入参数

参数 类型 是否必须 说明
page_no Number N 分页页码(默认:1)
page_size Number N 分页大小(默认:20)

API应用级返回结果

成功:

array (
  'rsp' => 'succ',
  'data' => 
  array (
    'datas' => 
    array (
      0 => 
      array (
        'spec_id' => '1',
        'spec_name' => '颜色',
        'spec_show_type' => 'flat',
        'spec_type' => 'image',
        'val' => 
        array (
          0 => '1',
          1 => '2',
          2 => '3',
          3 => '4',
          4 => '5',
          5 => '6',
          6 => '7',
          7 => '8',
          8 => '9',
          9 => '10',
          10 => '11',
          11 => '12',
          12 => '13',
          13 => '14',
          14 => '15',
          15 => '16',
          16 => '17',
          17 => '18',
        ),
        'spec_value' => 
        array (
          0 => '黑色',
          1 => '灰色',
          2 => '白色',
          3 => '米黄色',
          4 => '黄色',
          5 => '卡其色',
          6 => '金色',
          7 => '银色',
          8 => '橙色',
          9 => '粉红色',
          10 => '红色',
          11 => '酒红色',
          12 => '咖啡色',
          13 => '蓝色',
          14 => '深蓝色',
          15 => '浅蓝色',
          16 => '紫色',
          17 => '绿色',
        ),
        'spec_image' => 
        array (
          0 => 'c6fc23ebed6d9e27b971e8b06607b2a5',
          1 => '09bc587048d0191963c556adcfb03c9c',
          2 => '8c1cd9c14f63875a9ffe7f23b3409b2a',
          3 => '9a7034fa91da8d8938092efd6ff54507',
          4 => '7dd79f8060131f1a164ddb86d71c4e2e',
          5 => '81ffeaba313f8a39dbea55a3805acaa7',
          6 => '40a81471c79bd6d2074243edf90b0dfe',
          7 => '0facb2a58a39cacac8a4efc80a5479fd',
          8 => 'a9a1abb9fd15418795abf18f9c07dde5',
          9 => 'd3ba52d2e82a8e5d87b2787ade7605d8',
          10 => '3b8c68d54a1e0caf47538feac4a28908',
          11 => 'f602f01487a844c2341110897a79b766',
          12 => '9e645585fa6c7fdbdfdeba851a88d109',
          13 => 'ace6abf4411bb21ba85f929dc4311453',
          14 => '90a192b987a5d6354a899690771f297f',
          15 => '0c87ecbfd3d02c14d28376730bba6a2f',
          16 => '7f93fd91b3a6db293c2662b8f47118f5',
          17 => '062a07510dac80f75c288611d52d4b73',
        ),
      ),
    ),
    'totalResults' => 1,
  ),
  'res' => '',
)


內容目录

上一个主题

b2c.goods.get_sku 获取单个货品信息

下一个主题

b2c.goods.get_types 获取类型信息

快速搜索

输入相关的模块,术语,类或者函数名称进行搜索