Skip to content

sn码解锁

sn码解锁

请求参数类型描述
jsonobject声明请求的JSON数据结构
req_ssnstring请求流水号
req_timestring请求时间
create_userstring发起方
provincestring省份代码
manufact_cert_codestring厂商统一 社会信用 代码
snstring商品 SN码
goods_bar_codestring商品条码
goods_typestring商品品类
goods_namestring商品名称
goods_modelstring商品型号
imei1stringIMEI_1 码
imei2stringIMEI_2 码
trans_orderidstring交易订单 号
ori_pay_orderidstring原支付订 单号
order_pricestring订单金额
acquire_codestring收单机构
sell_orderidstring销售订单 号
citystring市级区域 代码
countystring区县区域代码
is_ai_productstring是否 AI 产 品
sale_timestring销售时间
mfr_infostring厂商信息
brandstring具体品牌
sales_modelsstring渠道类型
php
$instance->v3->gov->subsidy->zhejiang->sncode->unlock->postAsync([
  'json' => [
    'req_ssn'            => '',
    'req_time'           => '',
    'create_user'        => '',
    'province'           => '',
    'manufact_cert_code' => '',
    'sn'                 => '',
    'goods_bar_code'     => '',
    'goods_type'         => '',
    'goods_name'         => '',
    'goods_model'        => '',
    'imei1'              => '',
    'imei2'              => '',
    'trans_orderid'      => '',
    'ori_pay_orderid'    => '',
    'order_price'        => '',
    'acquire_code'       => '',
    'sell_orderid'       => '',
    'city'               => '',
    'county'             => '',
    'is_ai_product'      => '',
    'sale_time'          => '',
    'mfr_info'           => '',
    'brand'              => '',
    'sales_models'       => '',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/gov/subsidy/zhejiang/sncode/unlock')->postAsync([
  'json' => [
    'req_ssn'            => '',
    'req_time'           => '',
    'create_user'        => '',
    'province'           => '',
    'manufact_cert_code' => '',
    'sn'                 => '',
    'goods_bar_code'     => '',
    'goods_type'         => '',
    'goods_name'         => '',
    'goods_model'        => '',
    'imei1'              => '',
    'imei2'              => '',
    'trans_orderid'      => '',
    'ori_pay_orderid'    => '',
    'order_price'        => '',
    'acquire_code'       => '',
    'sell_orderid'       => '',
    'city'               => '',
    'county'             => '',
    'is_ai_product'      => '',
    'sale_time'          => '',
    'mfr_info'           => '',
    'brand'              => '',
    'sales_models'       => '',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/gov/subsidy/zhejiang/sncode/unlock']->postAsync([
  'json' => [
    'req_ssn'            => '',
    'req_time'           => '',
    'create_user'        => '',
    'province'           => '',
    'manufact_cert_code' => '',
    'sn'                 => '',
    'goods_bar_code'     => '',
    'goods_type'         => '',
    'goods_name'         => '',
    'goods_model'        => '',
    'imei1'              => '',
    'imei2'              => '',
    'trans_orderid'      => '',
    'ori_pay_orderid'    => '',
    'order_price'        => '',
    'acquire_code'       => '',
    'sell_orderid'       => '',
    'city'               => '',
    'county'             => '',
    'is_ai_product'      => '',
    'sale_time'          => '',
    'mfr_info'           => '',
    'brand'              => '',
    'sales_models'       => '',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->gov->subsidy->zhejiang->sncode->unlock->post([
  'json' => [
    'req_ssn'            => '',
    'req_time'           => '',
    'create_user'        => '',
    'province'           => '',
    'manufact_cert_code' => '',
    'sn'                 => '',
    'goods_bar_code'     => '',
    'goods_type'         => '',
    'goods_name'         => '',
    'goods_model'        => '',
    'imei1'              => '',
    'imei2'              => '',
    'trans_orderid'      => '',
    'ori_pay_orderid'    => '',
    'order_price'        => '',
    'acquire_code'       => '',
    'sell_orderid'       => '',
    'city'               => '',
    'county'             => '',
    'is_ai_product'      => '',
    'sale_time'          => '',
    'mfr_info'           => '',
    'brand'              => '',
    'sales_models'       => '',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/gov/subsidy/zhejiang/sncode/unlock')->post([
  'json' => [
    'req_ssn'            => '',
    'req_time'           => '',
    'create_user'        => '',
    'province'           => '',
    'manufact_cert_code' => '',
    'sn'                 => '',
    'goods_bar_code'     => '',
    'goods_type'         => '',
    'goods_name'         => '',
    'goods_model'        => '',
    'imei1'              => '',
    'imei2'              => '',
    'trans_orderid'      => '',
    'ori_pay_orderid'    => '',
    'order_price'        => '',
    'acquire_code'       => '',
    'sell_orderid'       => '',
    'city'               => '',
    'county'             => '',
    'is_ai_product'      => '',
    'sale_time'          => '',
    'mfr_info'           => '',
    'brand'              => '',
    'sales_models'       => '',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/gov/subsidy/zhejiang/sncode/unlock']->post([
  'json' => [
    'req_ssn'            => '',
    'req_time'           => '',
    'create_user'        => '',
    'province'           => '',
    'manufact_cert_code' => '',
    'sn'                 => '',
    'goods_bar_code'     => '',
    'goods_type'         => '',
    'goods_name'         => '',
    'goods_model'        => '',
    'imei1'              => '',
    'imei2'              => '',
    'trans_orderid'      => '',
    'ori_pay_orderid'    => '',
    'order_price'        => '',
    'acquire_code'       => '',
    'sell_orderid'       => '',
    'city'               => '',
    'county'             => '',
    'is_ai_product'      => '',
    'sale_time'          => '',
    'mfr_info'           => '',
    'brand'              => '',
    'sales_models'       => '',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
resp_codestring响应码
resp_descstring响应描述

参阅 官方文档

Published on the GitHub by TheNorthMemory