Skip to content

sn码锁定

sn码锁定

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

参阅 官方文档

Published on the GitHub by TheNorthMemory