sn码锁定
sn码锁定
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
create_user | string | 发起方 |
province | string | 省份代码 |
manufact_cert_code | string | 厂商统一 社会信用 代码 |
sn | string | 商品 SN码 |
goods_bar_code | string | 商品条码 |
goods_type | string | 商品品类 |
goods_name | string | 商品名称 |
goods_model | string | 商品型号 |
imei1 | string | IMEI_1 码 |
imei2 | string | IMEI_2 码 |
trans_orderid | string | 交易订单号 |
order_price | string | 订单金额 |
acquire_code | string | 收单机构 |
sell_orderid | string | 销售订单号 |
city | string | 市级区域代码 |
county | string | 区县区域代码 |
is_ai_product | string | 是否 AI 产品 |
sale_time | string | 销售时间 |
mfr_info | string | 厂商信息 |
brand | string | 具体品牌 |
sale_models | string | 渠道类型 |
req_ssn | string | 请求流水号 |
req_time | string | 请求时间 |
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_code | string | 响应码 |
resp_desc | string | 响应描述 |
imei1 | string | IMEI_1 码 |
imei2 | string | IMEI_2 码 |
参阅 官方文档