Overview
VeChain ToolChain™ landing page sdk is used to assist users in secondary development based on standard landing page. This SDK encapsulates the entire process of obtaining data from the toolchain, and users can quickly build their own landing page based on this SDK.
Result Code
Code | Message |
---|---|
1 | success |
0 | response error case 1. Vid parameter error case 2. Page did not public and inaccessible case 3. VID did not query data case 4. Query UUID does not exist case 5. Unable to read product information |
-1 | serverError |
Preparation
If you want to use your own domain name to deploy the landing page, you need to complete the following configuration to obtain an access token, otherwise, please install the SDK directly.
1. Log in to the VeChain ToolChain®️ console, click Developer Center>Browser Application
2. Fill in the domain name deployed on the landing page and click New to generate an access token
3. Copy token
Source code reference for the general traceability process landing page:(Please make sure the node.js version is 8.x)
Installation
npm install toolchain-landingpage-web-sdk
QuickStart
Importing
var vlSDK = require('toolchain-landingpage-web-sdk')
// Or es6
import vlSDK from 'toolchain-landingpage-web-sdk'
// You can copy directory dist/vlSDK.js or vlSDK.min.js to your project
Production environment access address
If the landing page is deployed on VeChain's server, it can be accessed through the following address.
https://v.vevids.com/?vid=xxxxxx&vidAccessToken=xxxxxxx
vidAccessToken is an optional parameter. When the carrier of vid is an NFC chip, you need to use the chip verification SDK to obtain the vidAccessToken and pass in the link.
API
1. vlSDK.getUuids
Get uuids and key of DCP models for the given vid. This api is used during development process.
Request Parameters:
Name | Type | Default | Required | Description |
---|---|---|---|---|
+ params | Object | N/A | true | |
└ vid | String | N/A | true | vid |
success | Function | N/A | false | success function |
fail | Function | N/A | false | fail function |
callback | Function | N/A | false | callback function |
Request Example:
vlSDK.getUuids({
params:{
vid: '0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14'
},
success: function(res){
// success here
console.log('success', res)
},
fail: function(err) {
// error here
console.log('error', err)
},
callback: function(res){
// callback
console.log('callback', res)
}
})
Response Example:
{
"code": "common.success",
"data": {
"dataRefModelUuidList": [
{
"dcpName": "3. 餐饮服务",
"instanceUuid": "10524300-0d87-4d72-8960-490801200005",
"modelUuid": "00000000-7f12-4223-bf61-95c700200005",
"key": "00000000-7f12-4223-bf61-95c700200005",
"projectUuid": "1564613D-F925-5999-ABBA-9B1DBF400001"
},
{
"dcpName": "养殖",
"instanceUuid": "10502900-9642-4dca-a782-fcf901200005",
"modelUuid": "00000000-c242-491f-9100-bff900200005",
"key": "dcp1",
"projectUuid": "156BDB80-7589-BFC9-9F78-E9EE46400001"
},
{
"dcpName": "发货",
"instanceUuid": "10502900-7060-4bac-b6b1-99ec01200005",
"modelUuid": "00000000-b38d-4252-95ad-f2d200200005",
"key": "trackinfo",
"projectUuid": "156BDB80-7589-BFC9-9F78-E9EE46400001"
},
{
"dcpName": "创建批次",
"instanceUuid": "10502900-8a9e-45d4-bef7-e55401200001",
"modelUuid": "00000000-8709-40bc-9df0-103400200001",
"key": "00000000-8709-40bc-9df0-103400200001",
"projectUuid": "156BDB80-7589-BFC9-9F78-E9EE46400001"
},
{
"dcpName": "捡蛋",
"instanceUuid": "10502900-e720-4f68-9eaf-6c7a01200005",
"modelUuid": "00000000-7f73-43d9-928c-601100200005",
"key": "dcp4",
"projectUuid": "156BDB80-7589-BFC9-9F78-E9EE46400001"
},
{
"dcpName": "产品信息",
"instanceUuid": "10502900-8b2d-4a1e-beec-955001200000",
"modelUuid": "00000000-211a-44c5-a6e3-36f100200000",
"key": "00000000-211a-44c5-a6e3-36f100200000",
"projectUuid": "156BDB80-7589-BFC9-9F78-E9EE46400001"
},
{
"dcpName": "绑定产品信息",
"instanceUuid": "10502900-e7fb-403f-938f-ba8901200002",
"modelUuid": "00000000-1651-4ced-bf12-42b500200002",
"key": "00000000-1651-4ced-bf12-42b500200002",
"projectUuid": "156BDB80-7589-BFC9-9F78-E9EE46400001"
},
{
"dcpName": "种植",
"instanceUuid": "10505200-c536-46d7-9f02-d60a01200005",
"modelUuid": "00000000-a43a-44b3-90f5-052b00200005",
"key": "dcp4",
"projectUuid": "156CCE75-5719-D668-3E1B-AB8EC4400001"
},
{
"dcpName": "发货",
"instanceUuid": "10505200-7c61-4f74-b0b3-34bd01200005",
"modelUuid": "00000000-febe-42e7-94e8-de5a00200005",
"key": "trackinfo",
"projectUuid": "156CCE75-5719-D668-3E1B-AB8EC4400001"
},
{
"dcpName": "采摘_收割",
"instanceUuid": "10505200-d92e-4e64-95ca-7cec01200005",
"modelUuid": "00000000-5c1f-43f4-a51e-7bec00200005",
"key": "dcp1",
"projectUuid": "156CCE75-5719-D668-3E1B-AB8EC4400001"
},
{
"dcpName": "创建批次",
"instanceUuid": "10505200-1985-4b55-ba0e-6a2501200001",
"modelUuid": "00000000-9a17-4c0d-9a1c-798200200001",
"key": "batch_a63f",
"projectUuid": "156CCE75-5719-D668-3E1B-AB8EC4400001"
}
],
"modelUuidList": [
{
"modelName": "产品信息",
"modelUuid": "00000000-f793-468a-8527-14d600200000",
"key": "sku"
},
{
"modelUuid": "00000000-a0cb-4d6a-8b06-e17a00200012",
"key": "buinfo"
},
{
"modelName": "品尝美食",
"modelUuid": "00000000-6017-4a6d-b04d-7e1600200005",
"key": "trackinfo"
},
{
"modelName": "自定义展示信息",
"modelUuid": "00000000-f436-4e1a-b67a-9ed700200006",
"key": "customizedDisplayInfo"
},
{
"modelName": "制作加工",
"modelUuid": "00000000-1c0c-43a9-899b-d22b00200005",
"key": "dcp1"
},
{
"modelName": "收货",
"modelUuid": "00000000-63e0-4876-a54c-8f1b00200005",
"key": "dcp4"
}
]
}
}
2. vlSDK.fetch - Promise
Fetch the vid data with Promise
Request Parameters:
Name | Type | Default | Required | Description |
---|---|---|---|---|
vid | String | N/A | true | If vid is not specified, sdk will fetch it from window.location |
types | Array | N/A | false | DCP key, get it through vlSDK.getUuids |
dataRefModels | Array | N/A | false | Referenced DCP key, get it through vlSDK.getUuids |
language | String | N/A | false | Set the system language of the request (please refer to: System Language and Browser Language Comparison Table), if no language is specified, the SDK will fetch it from the browser |
service | String | N/A | false | When the landing page developed by the SDK is used for the internal preview of the vechain toolchain platform, this parameter needs to be passed in. Ali passer ali, Amazon transfers aws. When this parameter is not passed in, if the host of the page is * .veplatform.com, it will be judged as aws, otherwise it is ali. Note: * .veplatform.com is the domain name automatically assigned after uploading the landing page package for the aws project of VeChain ToolChain platform. If the customer deploys the landing page domain name, this parameter can be omitted. For independently deployed domain names, this parameter is required for internal preview. |
token | String | N/A | false | It needs to be provided when the landing page is deployed under the your own domain name |
vidAccessToken | String | N/A | false | When you need to get the tag data, you must provide it, otherwise you can only get the SKU information. You need to call the tag verification SDK to get it, please refer to Android or iOS. |
Request Example:
vlSDK.fetch({
vid: '0xA9D641151E519C33BA9D7A85CF5970AF790164412C51F6270329CC1A77EC1B02',
types: ['sku', 'buinfo', 'customizedDisplayInfo', 'trackinfo','dcp1','dcp4'],
dataRefModels: ['00000000-7f12-4223-bf61-95c700200005','dcp1','trackinfo','00000000-8709-40bc-9df0-103400200001','dcp4','00000000-211a-44c5-a6e3-36f100200000','00000000-1651-4ced-bf12-42b500200002','dcp4','trackinfo','dcp1','batch_a63f'],
token: 'c79ad2bb017a7348234uo243'
}).then(function(res){
console.log(res)
}).catch(function(res){
console.log(res)
})
Response Example:
{
"code": "common.success",
"data": {
"vid": "0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14",
"displayType": "all",
"chain": "mainnet",
"jsonData": {
"trackinfo": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112250300b9d5fa5982c5c4deaa6a844bef8c6388054ab91f6",
"dataUuid": "00000000-557f-4153-8213-a68502200005",
"txId": "0xd0da1148e1f7d9503057d8bd22a8b8f71d332f45d2362d8889983bf424cb7465",
"hash": "63dcad5699472bbaac6f6031f2644f8d301d3d10a6227644df055ec732b2c536"
},
"custom": {
"tracktime": 1599204120667,
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "VIP1",
"trackimages": [
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/739d37cab2be86f487902715d63d16bd0e4ad4a189e7641dd622b7c78dda5e49?token=d94cad56-6af6-4f5d-88c3-045a6605a304",
"filetype": "jpg",
"filename": "u=790823546,219433842&fm=26&gp=0.jpg",
"filesize": "26593",
"filehash": "739d37cab2be86f487902715d63d16bd0e4ad4a189e7641dd622b7c78dda5e49"
}
],
"vidlist": {
"type": 0,
"vidlist": [
"0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14"
]
}
},
"base": {
"name": "美食享用0904",
"endtime": "",
"starttime": "",
"timestamp": 1599204242627
}
}
],
"customizedDisplayInfo": {
"blockinfo": {
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"dataUuid": "00000000-fd5b-4cfc-a0cb-2a6b02200006",
"hash": "7dbd211df7dff093206d88e22d6234bf18f290c2d18b09681a2e0a9717a08452"
},
"custom": {
"webpages": [
{
"webpagelink": "https://vechain.com/",
"webpagename": "官网"
}
],
"moreimages": [
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/30f432ae73df6bc9d628dac2a177c9377ced72ab7a860c490a52bd2c47a41a72?token=77f23f0b-2cbb-42bb-bbb9-dfa8156d3693",
"filetype": "jpg",
"filename": "photo-gallery-01.jpg",
"filesize": "470124",
"filehash": "30f432ae73df6bc9d628dac2a177c9377ced72ab7a860c490a52bd2c47a41a72"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/79c5165f838f4336415ddbb69154991faf4b9eb95a30fb3453bf6b4e6e73f0b1?token=43647bb2-fd8b-4358-a4e1-da149df99173",
"filetype": "jpg",
"filename": "photo-gallery-04.jpg",
"filesize": "382014",
"filehash": "79c5165f838f4336415ddbb69154991faf4b9eb95a30fb3453bf6b4e6e73f0b1"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/a6d55f52966ab44b5960ed862bd3aea28bd1f4c70482e4b6737d851d2c50c602?token=89a0b2d5-58f4-4faf-b4d3-24433608b5c4",
"filetype": "jpg",
"filename": "20200707134310_4666.jpg",
"filesize": "1105272",
"filehash": "a6d55f52966ab44b5960ed862bd3aea28bd1f4c70482e4b6737d851d2c50c602"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/6208e250bc9e4270cd1dab5535a31b178e85e150c8bbfb5a3955bd1ee6021fad?token=6547d0fa-d583-4c21-967a-ae85f23d5966",
"filetype": "jpg",
"filename": "20200707133714_3182.jpg",
"filesize": "1233765",
"filehash": "6208e250bc9e4270cd1dab5535a31b178e85e150c8bbfb5a3955bd1ee6021fad"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/0f7b40cdae0ac822794b65a1e2073f638a3a44206f7b3f253530efbeed27aa8d?token=ac9501a3-22fa-4622-9037-7f2d4fe9eff3",
"filetype": "jpg",
"filename": "20200604233702_0783.jpg",
"filesize": "222164",
"filehash": "0f7b40cdae0ac822794b65a1e2073f638a3a44206f7b3f253530efbeed27aa8d"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/d5dda4d3f9e6d264239199244be721418edb53cc96ace1711a32d1f8b447a7f0?token=cea97aef-193c-43e1-be10-0dade9bed609",
"filetype": "jpg",
"filename": "20200707140450_5969.jpg",
"filesize": "1166940",
"filehash": "d5dda4d3f9e6d264239199244be721418edb53cc96ace1711a32d1f8b447a7f0"
}
]
},
"base": {
"name": "V酒店介绍",
"endtime": "",
"starttime": "",
"timestamp": 1599132361422
}
},
"sku": {
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112250aa366fca6ba8e285309b662559ea6ed86b68001466ab",
"dataUuid": "00000000-55a9-4caf-aec8-7e6602200000",
"txId": "0x357cab59c15c933402d105855f7e4e88af1a52a699c8464d7d1ae8b820c70de3",
"hash": "e3b1bab107677b6051d1ad928acd97a5ee7402004593b93ad3926a7c47ce7511"
},
"custom": {},
"base": {
"mainimage": {
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/632948cc24cc5fd857a424a9b5161d61cfcd3be6158e15d5ea03844466aff843?token=ae1a64b2-4a13-4c8a-a99f-e11adf61cf0b",
"filetype": "jpeg",
"filename": "番茄炒蛋.jpeg",
"filesize": "12272",
"filehash": "632948cc24cc5fd857a424a9b5161d61cfcd3be6158e15d5ea03844466aff843"
},
"skucode": "tomoto",
"productname": "番茄炒蛋",
"description": "西红柿炒鸡蛋,又名番茄炒蛋,是许多百姓家庭中一道普通的大众菜肴。烹饪方法简单易学,营养搭配合理。鲜艳,爽口、开胃,成为中国菜肴中最具代表性、最经典的美食之一。其营养价值丰富,具有营养素互补的特点以及健美抗衰老的作用。",
"endtime": "",
"starttime": "",
"productparames": [
{
"value": "红黄相间,鲜香酸甜",
"key": "特色"
},
{
"value": "酸甜微咸",
"key": "口味"
},
{
"value": "炒",
"key": "制作工艺"
},
{
"value": "鸡蛋(150克),西红柿(2个),食用油,盐(3克),清水(少许),生抽,味精,葱花(10克),糖(少许)",
"key": "食材"
},
{
"value": "西红柿含有丰富的维生素C和B族维生素。鸡蛋含有大量的维生素和矿物质及有高生物价值的蛋白质;蛋黄中含有丰富的卵磷脂、固醇类、蛋黄素以及钙、磷、铁、维生素A、维生素D及B族维生素。这些成分对增进神经系统的功能大有裨益,因此,鸡蛋西红柿是很好的健脑食品",
"key": "营养价值"
},
{
"value": "鸡蛋与兔肉相克,者各有一些生物活性物质,若同炒同食,则易产生刺激肠胃道的物质而引起腹泻,故不宜同食",
"key": "饮食忌"
}
],
"timestamp": 1599132031153
}
},
"buinfo": [
{}
],
"dcp4": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c100159911225018c974e046692a86084f7fc1ce04e5a6a5120e0bd17c",
"dataUuid": "00000000-14df-4314-90f9-797402200005",
"txId": "0x609e12ff2ac649b8925d1bd3e0cb9a567722cf04daa94cd5c48e770c38d9f809",
"hash": "86b89f40cc7479e3bb2ebba67b77435df3ff94b494b51e3713e0c19fcdb0bfee"
},
"custom": {
"textplain_002": "2020Jul0002",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "V酒店",
"datarefer_000": [
{
"datahash": "32240ce435e7506735bd92cab6837711c01af9a4f61e991cd5f57ad2aa51fac4",
"datauuid": "00000000-a02c-4b56-ab92-b89c02200005",
"clauseindex": 0,
"uuid": "00000000-a02c-4b56-ab92-b89c02200005"
}
],
"otherlist1584608872847": [
{}
]
},
"base": {
"name": "收货",
"endtime": "",
"starttime": "",
"timestamp": 1599131190974
}
},
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112250d7a8705fc207a2cfb84dee12c53eca0326b49447411d",
"dataUuid": "00000000-26c0-44d3-ac53-4e6302200005",
"txId": "0x65352864f2544f697f1e250d0393225aebc870a7ea9ab348a6b6569355071d28",
"hash": "9890f640a68ff1d60befd27c830c384c299ce06eafd02cd80a55369773e5867e"
},
"custom": {
"textplain_002": "2020Jul0001",
"textmultiline1584608783484": "西红柿9月交货",
"otherlist1587871739441": [],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"datarefer_000": [
{
"datahash": "38993554c73da8e9b7f47f5e5d64aa96d7f66ed1a4a920fd3347780fabbcec54",
"datauuid": "00000000-aff2-4bfe-8cd2-03c702200005",
"clauseindex": 0,
"uuid": "00000000-aff2-4bfe-8cd2-03c702200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "数量",
"textmultiline1584608883001": "100斤"
}
]
},
"base": {
"name": "收货0904",
"endtime": "",
"starttime": "",
"timestamp": 1599203101824
}
}
],
"dcp1": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c10015991122504f006523c49c61f5a05f59fe186aff01ac77cabbc4f3",
"dataUuid": "00000000-ae8b-4890-9678-5dcd02200005",
"txId": "0x0a33a43805a9386d8cd545cec7542b2593cacba563e895e4e95d815891fc0f44",
"hash": "852113fefb54a0147f0aaa2e26168dcde8c3c7e36285fd832b1d876bc3d13a77"
},
"custom": {
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"otherlist1588377948929": [
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/216e3e64991d1867006e977277e2286d6ed29dd3f352e7d81e9cfd897cdeb552?token=a0f0e971-b3f3-4e47-9def-34839efe1fa2",
"filetype": "mp4",
"filename": "ef3798402b2a58132236b620f551b031.mp4",
"filesize": "17386025",
"filehash": "216e3e64991d1867006e977277e2286d6ed29dd3f352e7d81e9cfd897cdeb552"
}
],
"datarefer_000": [
{
"datavid": "0x492f06c100159911225018c974e046692a86084f7fc1ce04e5a6a5120e0bd17c",
"datahash": "86b89f40cc7479e3bb2ebba67b77435df3ff94b494b51e3713e0c19fcdb0bfee",
"datauuid": "00000000-14df-4314-90f9-797402200005",
"clauseindex": 0,
"txid": "0x609e12ff2ac649b8925d1bd3e0cb9a567722cf04daa94cd5c48e770c38d9f809",
"uuid": "00000000-14df-4314-90f9-797402200005"
},
{
"datahash": "b510ce7ff7b13151ec27f2a4ec4d40adcff2a0958ec4237ab2bf488b15efcede",
"datauuid": "00000000-2116-422d-ae36-655702200005",
"clauseindex": 0,
"uuid": "00000000-2116-422d-ae36-655702200005"
},
{
"datavid": "0x492f06c1001599112250d7a8705fc207a2cfb84dee12c53eca0326b49447411d",
"datahash": "9890f640a68ff1d60befd27c830c384c299ce06eafd02cd80a55369773e5867e",
"datauuid": "00000000-26c0-44d3-ac53-4e6302200005",
"clauseindex": 0,
"txid": "0x65352864f2544f697f1e250d0393225aebc870a7ea9ab348a6b6569355071d28",
"uuid": "00000000-26c0-44d3-ac53-4e6302200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "原料1",
"textmultiline1584608883001": "西红柿"
},
{
"textplain1584608879092": "原料2",
"textmultiline1584608883001": "鸡蛋"
},
{
"textplain1584608879092": "做法1:",
"textmultiline1584608883001": "将鸡蛋打入碗中,快速搅匀至蛋黄打散,西红柿切块。"
},
{
"textplain1584608879092": "2",
"textmultiline1584608883001": "锅热后倒入油,葱花爆香后倒入蛋液,鸡蛋炒散炒熟。"
},
{
"textplain1584608879092": "3",
"textmultiline1584608883001": "鸡蛋炒至金黄后,倒入西红柿块翻炒,直至西红柿超软,汤汁溢出,加入盐和白糖,收汁后即可出锅"
}
]
},
"base": {
"name": "炒菜0904",
"endtime": "",
"starttime": "",
"timestamp": 1599203311170
}
}
]
},
"certUrl": "https://cert-v4.vtho.net/?vid=0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14",
"explorerUrl": "https://explore-testnet.vechain.org",
"dataRefData": {
"trackinfo": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba544001599125146eedb1c110a0a0ce1cff0baf902a7ff6d648e70c1b68d",
"dataUuid": "00000000-a02c-4b56-ab92-b89c02200005",
"txId": "0x0656f0d5b0edf0969406aeb1acd74bafa92932d202c94f88ba250176ee147808",
"hash": "32240ce435e7506735bd92cab6837711c01af9a4f61e991cd5f57ad2aa51fac4"
},
"custom": {
"tracktime": 1599130044207,
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "养殖场",
"datarefer_000": [
{
"datavid": "0xf02ba54400159912514617fe8a03031f8b9a514c75b4e3fb8693d9988d1a3e83",
"datahash": "fdae355ce8afb4aed6b8e850644116b362ab2b125c5191678c9eb3ba91ffd8db",
"datauuid": "00000000-bcbe-4731-a021-787802200001",
"clauseindex": 0,
"txid": "0x73d1b8ccc3aac2fdd56c5a5d6dd481369ff289527927263da0bb3a9763b47b9e",
"uuid": "00000000-bcbe-4731-a021-787802200001"
}
],
"textplain_000": "2020Jul0002",
"vidlist": {
"type": 0,
"vidlist": [
"0xf02ba5440015789115950bc8f02025a3aec02450110ae127d8d62565c683776f"
]
}
},
"base": {
"name": "发货",
"endtime": "",
"starttime": "",
"timestamp": 1599130142026
}
},
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa200159911165078224b1d7a15cef8224ce18542e92ea281df76fd49e0",
"dataUuid": "00000000-aff2-4bfe-8cd2-03c702200005",
"txId": "0x215c214d666de585f5d5c3508aa3868c20abcb3872b0451542caec93b62f0d06",
"hash": "38993554c73da8e9b7f47f5e5d64aa96d7f66ed1a4a920fd3347780fabbcec54"
},
"custom": {
"tracktime": 1599202462431,
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"datarefer_000": [
{
"datavid": "0xaa56efa2001599111650e082daa47e1526cddd7912fc8dbedd9968b3cc27b3e0",
"datahash": "ef7e8975f6c4d7234000b8c44836c40811e27c7b0a4f3e4e05f8c38f79a7d16f",
"datauuid": "00000000-9d6c-4d35-a55c-403e02200001",
"clauseindex": 0,
"txid": "0x18a84fa1f83b540b1b44c64a005aaf0f67d82d0836c1a4ca9131993de36be665",
"uuid": "00000000-9d6c-4d35-a55c-403e02200001"
}
],
"textplain_000": "2020Jul0001",
"vidlist": {
"type": 0,
"vidlist": [
"0xaa56efa20015978308857a88e99458803bf32a37b8804f526b4a4707be41839a"
]
}
},
"base": {
"name": "发货0904",
"endtime": "",
"starttime": "",
"timestamp": 1599202562077
}
}
],
"batch_a63f": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa2001599111650e082daa47e1526cddd7912fc8dbedd9968b3cc27b3e0",
"dataUuid": "00000000-9d6c-4d35-a55c-403e02200001",
"txId": "0x18a84fa1f83b540b1b44c64a005aaf0f67d82d0836c1a4ca9131993de36be665",
"hash": "ef7e8975f6c4d7234000b8c44836c40811e27c7b0a4f3e4e05f8c38f79a7d16f"
},
"custom": {},
"base": {
"batchname": "Dew测试",
"endtime": "",
"starttime": "",
"skuinfo": [
{
"datavid": "0xaa56efa2001599111650b1babb1f78713a707560ec74d2f2adc4a890aabcf3b9",
"uuid": "00000000-d9b9-4ad9-a377-107d02200000"
}
],
"timestamp": 1599202291052
}
}
],
"00000000-8709-40bc-9df0-103400200001": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba54400159912514617fe8a03031f8b9a514c75b4e3fb8693d9988d1a3e83",
"dataUuid": "00000000-bcbe-4731-a021-787802200001",
"txId": "0x73d1b8ccc3aac2fdd56c5a5d6dd481369ff289527927263da0bb3a9763b47b9e",
"hash": "fdae355ce8afb4aed6b8e850644116b362ab2b125c5191678c9eb3ba91ffd8db"
},
"custom": {},
"base": {
"batchname": "鸡蛋Jul",
"endtime": "",
"starttime": "",
"skuinfo": [
{
"datavid": "0xf02ba5440015991251465b7eddf910600c9c59399ebd6d41cf97902e4e6c32fc",
"uuid": "00000000-9687-46cd-8fc4-550b02200000"
}
],
"timestamp": 1599129391321
}
}
],
"00000000-7f12-4223-bf61-95c700200005": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112251f3d4ae8dba82036a34c84275bbc2cc306ebde6dc4119",
"dataUuid": "00000000-2116-422d-ae36-655702200005",
"txId": "0x65af3b60ba87ca2e37b3d352fec27b4960c1013492c97d3e5e737764cf7ca795",
"hash": "b510ce7ff7b13151ec27f2a4ec4d40adcff2a0958ec4237ab2bf488b15efcede"
},
"custom": {
"otherobject1589797181953": {
"textboolean_112": true,
"textfloat_068": "1.45"
},
"otherobject1589794734057": {
"textboolean_102": true,
"textfloat_058": "0.97"
},
"otherobject1589795713089": {
"textfloat_060": "0.97",
"textboolean_104": true
},
"otherobject1589796094720": {
"textfloat_064": "0.97",
"textboolean_108": true
},
"otherobject1592886190851": {
"textfloat_080": "1.45",
"textboolean_124": true
},
"otherobject1589796855745": {
"textboolean_110": true,
"textfloat_066": "0.97"
},
"otherobject1592884759306": {
"textboolean_120": true,
"textfloat_076": "0.97"
},
"otherobject1592885047765": {
"textboolean_122": true,
"textfloat_078": "0.97"
},
"bizdate": 1599062400000,
"otherobject1594717522299": {
"textfloat_082": "0.97",
"textboolean_126": true
},
"otherobject1589797610825": {
"textfloat_074": "0.97",
"textboolean_118": true
},
"otherobject1589794371142": {
"textboolean_100": true,
"textfloat_056": "0.97"
},
"otherobject1589796080461": {
"textfloat_062": "1.45",
"textboolean_106": true
},
"otherobject1589797569974": {
"textfloat_072": "0.97",
"textboolean_116": true
},
"textdate_028": "",
"otherobject1589797415053": {
"textfloat_070": "0.97",
"textboolean_114": true
}
},
"base": {
"name": "王梅梅",
"endtime": "",
"starttime": "",
"timestamp": 1599125011050
}
}
],
"dcp4": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba5440015991251466e5802d6d12dbd6d9c1987804dd8ea523d07b49264b5",
"dataUuid": "00000000-7650-452b-b647-d47602200005",
"txId": "0x14d6f2d93f1655d3505553f286a5cd10c993283e0a408cd0bc4db3953c0ea278",
"hash": "247f5e087c7c665c2ce96e4e706839a375fef62de7587099c48eb608807344bf"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585?token=c84d90b8-bd12-42df-8983-311815affb1f",
"filetype": "jpg",
"filename": "母鸡蛋.jpg",
"filesize": "273390",
"filehash": "4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/4c3e078e6afcd2bdb47e1f1de6bfd8afcc55ecc1c052b8d5d442b18295c08dde?token=ca382cc1-79a2-4f61-acb3-9ee075cff715",
"filetype": "png",
"filename": "鸡蛋1.png",
"filesize": "34469",
"filehash": "4c3e078e6afcd2bdb47e1f1de6bfd8afcc55ecc1c052b8d5d442b18295c08dde"
}
],
"textmultiline1584608783484": "散养土鸡蛋",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "养殖场",
"datarefer_000": [
{
"datahash": "659e4b6f7b2ebbddfe394618b6f09acd8e5a5853c55dcde9c22a6eb6db64fd89",
"datauuid": "00000000-3797-488d-b18b-843902200005",
"clauseindex": 0,
"uuid": "00000000-3797-488d-b18b-843902200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "产量",
"textmultiline1584608883001": "5000个"
}
]
},
"base": {
"name": "捡蛋",
"endtime": "",
"starttime": "",
"timestamp": 1599128102026
}
},
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa200159911165003d727a3dbfc82cf4f931a02b67714b0553615fa334e",
"dataUuid": "00000000-4dec-42b7-bd7a-bea402200005",
"txId": "0xd05de2f11627222837c4f6e474fd487382cd6b853001d501533619075c85705a",
"hash": "b2a144887399e481d0dd83271a01f327b194207a6da48ae1d7e94be249e63ec5"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/430be6d214e179af7f87ca4f1ca8d0dfee2658dfd3c6ee48134982b907eebf5b?token=2d973f1d-b922-4090-adf4-160cabab2593",
"filetype": "jpeg",
"filename": "tomato1.jpeg",
"filesize": "172085",
"filehash": "430be6d214e179af7f87ca4f1ca8d0dfee2658dfd3c6ee48134982b907eebf5b"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e?token=66800491-19bb-4676-a2fd-6c8e44a9ce1f",
"filetype": "jpeg",
"filename": "tomato.jpeg",
"filesize": "91514",
"filehash": "12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e"
}
],
"textmultiline1584608783484": "番茄是一种喜温性的蔬菜,在正常条件下,同化作用最适温度为20~25℃,根系生长最适土温为20~22℃。喜光,光饱和点为70000lx,适宜光照强度为30000~50000lx。也是短日照植物,番茄喜水,一般以土壤湿度60%~80%、空气湿度45%~50%为宜。",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "崇明农场",
"datarefer_000": [],
"otherlist1584608872847": [
{
"textplain1584608879092": "播种时间",
"textmultiline1584608883001": "2020年6月底"
},
{
"textplain1584608879092": "土壤酸碱度",
"textmultiline1584608883001": "PH6.5"
},
{
"textplain1584608879092": "种植面积",
"textmultiline1584608883001": "15亩"
},
{
"textplain1584608879092": "种植方式",
"textmultiline1584608883001": "大棚种植"
},
{
"textplain1584608879092": "产地",
"textmultiline1584608883001": "上海崇明"
}
]
},
"base": {
"name": "西红柿种植",
"endtime": "",
"starttime": "",
"timestamp": 1599123181631
}
}
],
"dcp1": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba544001599125146cf464cc64b20a245db95196736086379669d9eaed9c8",
"dataUuid": "00000000-6fb3-431d-9f91-3da702200005",
"txId": "0x9fe4c3d5688657c5a26c4fab325bb626e66984adcf624a53b7671dbef5a00b92",
"hash": "848fceba151f26e8ac89039e405e6984c8b7536df5f2a06f6ccef1dc53dccfea"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/b73f5d951a7c283d631ac7e97b77929cd8a53657171bbcec427e098bb30cd36d?token=62d05d53-33bf-4315-b3d1-3a20c8119fe1",
"filetype": "jpeg",
"filename": "鸡.jpeg",
"filesize": "26743",
"filehash": "b73f5d951a7c283d631ac7e97b77929cd8a53657171bbcec427e098bb30cd36d"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/31fc23b194bc95db20edf8ee9a320a93909035af4fdf5d7623930e0df80cadd3?token=9b89da3d-a9b2-47b0-b123-2908c4a18585",
"filetype": "jpeg",
"filename": "鸡1.jpeg",
"filesize": "36614",
"filehash": "31fc23b194bc95db20edf8ee9a320a93909035af4fdf5d7623930e0df80cadd3"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585?token=93857cdc-2e20-4c37-9f0e-55f5cca5a531",
"filetype": "jpg",
"filename": "母鸡蛋.jpg",
"filesize": "273390",
"filehash": "4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585"
}
],
"textmultiline1584608783484": "我国是世界上最早驯养鸡的国家,至少有四千多年的历史。在湖北、江西、山东、河南、甘肃等省都发现有四千多年前的鸡骨或陶鸡。",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "养殖场",
"datarefer_000": [],
"otherlist1584608872847": [
{
"textplain1584608879092": "孵化时间",
"textmultiline1584608883001": "2019年8月"
},
{
"textplain1584608879092": "养殖方法",
"textmultiline1584608883001": "散养"
}
]
},
"base": {
"name": "养鸡",
"endtime": "",
"starttime": "",
"timestamp": 1599127770969
}
},
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa2001599111650306a4ab6b46b2c1f47a4234bcb4107bc9aa14accce4e",
"dataUuid": "00000000-19c4-4cdf-9487-206202200005",
"txId": "0x27b7640370779c5c71f2cbc9a14e20cfdfd91213ffe985c08ef5c4bc3419c2eb",
"hash": "5f904a785ea9c7d2c151a399632a963f923d3360e48f55d363734ccd288de84b"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/b2716a2981236ba12865abccfa0657de22cd1f76ebfd3e25c8021bf6f9b1682b?token=1d78ccd6-4e6d-4374-aba1-67476cbe7124",
"filetype": "jpeg",
"filename": "tomato2.jpeg",
"filesize": "25511",
"filehash": "b2716a2981236ba12865abccfa0657de22cd1f76ebfd3e25c8021bf6f9b1682b"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e?token=9a98de4d-4379-41a1-8c43-97384c4759cf",
"filetype": "jpeg",
"filename": "tomato.jpeg",
"filesize": "91514",
"filehash": "12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/0886b1dcb30a0489cdc18459ede991669bbbb122e3f2f6c7bcd8c30265ad7e9b?token=eed375dc-078e-470b-b456-3684d768b280",
"filetype": "jpeg",
"filename": "tomato3.jpeg",
"filesize": "9577",
"filehash": "0886b1dcb30a0489cdc18459ede991669bbbb122e3f2f6c7bcd8c30265ad7e9b"
}
],
"textmultiline1584608783484": "6月采摘季节,红艳艳",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"datarefer_000": [
{
"datavid": "0xaa56efa200159911165003d727a3dbfc82cf4f931a02b67714b0553615fa334e",
"datahash": "b2a144887399e481d0dd83271a01f327b194207a6da48ae1d7e94be249e63ec5",
"datauuid": "00000000-4dec-42b7-bd7a-bea402200005",
"clauseindex": 0,
"txid": "0xd05de2f11627222837c4f6e474fd487382cd6b853001d501533619075c85705a",
"uuid": "00000000-4dec-42b7-bd7a-bea402200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "重量",
"textmultiline1584608883001": "100斤"
}
]
},
"base": {
"name": "采摘西红柿",
"endtime": "",
"starttime": "",
"timestamp": 1599202082076
}
}
],
"00000000-211a-44c5-a6e3-36f100200000": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba5440015991251465b7eddf910600c9c59399ebd6d41cf97902e4e6c32fc",
"dataUuid": "00000000-9687-46cd-8fc4-550b02200000",
"txId": "0xe57e41e53fc7cea3cebd2c307fcade6471e8c16a5f37424383dffafdcb090e21",
"hash": "79327f68ca84a7534a457f8e4c44b4b6a861971126cd31e08418902ed7b26d85"
},
"custom": {},
"base": {
"mainimage": {
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/00a1041337e0cac9f4d622cc27c0088799af641d910407b16252f081eff45f88?token=597302e4-f115-4841-973b-040b00126a9b",
"filetype": "jpg",
"filename": "鸡蛋.jpg",
"filesize": "32803",
"filehash": "00a1041337e0cac9f4d622cc27c0088799af641d910407b16252f081eff45f88"
},
"skucode": "egg001",
"productname": "鸡蛋",
"description": "鸡蛋,又名鸡卵、鸡子,是母鸡所产的卵。其外有一层硬壳,内则有气室、卵白及卵黄部分。富含胆固醇,营养丰富。一个鸡蛋重约50克,含蛋白质7-8克,脂肪5-6克。鸡蛋蛋白质的氨基酸比例很适合人体生理需要、易为机体吸收,利用率高达98%以上,营养价值很高,是人类常食用的食物之一。含有很高的蛋白质。 ",
"endtime": "",
"starttime": "",
"productparames": [
{
"value": "32个",
"key": "数量"
},
{
"value": "每百克鸡蛋含蛋白质12.58克 [3] ,主要为卵白蛋白和卵球蛋白,其中含有人体必需的8种氨基酸,并与人体蛋白的组成极为近似,人体对鸡蛋蛋白质的吸收率可高达98%。每百克鸡蛋含脂肪11~15克,主要集中在蛋黄里,也极易被人体消化吸收,蛋黄中含有丰富的卵磷脂、固醇类、蛋黄素以及钙、磷、铁、维生素A、维生素D及B族维生素。这些成分对增进神经系统的功能大有裨益,因此,鸡蛋又是较好的健脑食品。",
"key": "价值"
},
{
"value": "煮、蒸、炸、炒等",
"key": "烹饪"
}
],
"timestamp": 1599129062225
}
}
]
},
"advert": "pro",
"language": [
"zh-CN"
]
}
}
3. vlSDK.fetch - Callback
Fetch the vid data with callback
Request Parameters:
Name | Type | Default | Required | Description |
---|---|---|---|---|
+ params | Object | N/A | true | |
└ vid | String | N/A | true | If vid is not specified, sdk will fetch it from window.location |
└ types | Array | N/A | false | DCP key, get it through vlSDK.getUuids |
└ dataRefModels | Array | N/A | false | Referenced DCP key, get it through vlSDK.getUuids |
└ language | String | N/A | false | Set the system language of the request (please refer to: System Language and Browser Language Comparison Table), if no language is specified, the SDK will fetch it from the browser |
└ service | String | N/A | false | When the landing page developed by the SDK is used for the internal preview of the vechain toolchain platform, this parameter needs to be passed in. Ali passer ali, Amazon transfers aws. When this parameter is not passed in, if the host of the page is * .veplatform.com, it will be judged as aws, otherwise it is ali. Note: * .veplatform.com is the domain name automatically assigned after uploading the landing page package for the aws project of VeChain ToolChain platform. If the customer deploys the landing page domain name, this parameter can be omitted. For independently deployed domain names, this parameter is required for internal preview. |
└ token | String | N/A | false | It needs to be provided when the landing page is deployed under the your own domain name |
└ vidAccessToken | String | N/A | false | When you need to get the tag data, you must provide it, otherwise you can only get the SKU information. You need to call the tag verification SDK to get it, please refer to Android or iOS. |
success | Function | N/A | false | success function |
fail | Function | N/A | false | fail function |
callback | Function | N/A | false | callback function |
Request Example:
vlSDK({
params: {
vid: '0xA9D641151E519C33BA9D7A85CF5970AF790164412C51F6270329CC1A77EC1B02',
types: ['sku', 'buinfo', 'customizedDisplayInfo', 'trackinfo','dcp1','dcp4'],
dataRefModels: ['00000000-7f12-4223-bf61-95c700200005','dcp1','trackinfo','00000000-8709-40bc-9df0-103400200001','dcp4','00000000-211a-44c5-a6e3-36f100200000','00000000-1651-4ced-bf12-42b500200002','dcp4','trackinfo','dcp1','batch_a63f'],
token: 'c79ad2bb07234lawfsk22234343434'
},
// success
success: function(res){
console.log(res)
},
// fail
fail: function(res){
console.log(res)
},
// callback
callback: function(res){
}
})
Response Example:
{
"code": "common.success",
"data": {
"vid": "0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14",
"displayType": "all",
"chain": "mainnet",
"jsonData": {
"trackinfo": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112250300b9d5fa5982c5c4deaa6a844bef8c6388054ab91f6",
"dataUuid": "00000000-557f-4153-8213-a68502200005",
"txId": "0xd0da1148e1f7d9503057d8bd22a8b8f71d332f45d2362d8889983bf424cb7465",
"hash": "63dcad5699472bbaac6f6031f2644f8d301d3d10a6227644df055ec732b2c536"
},
"custom": {
"tracktime": 1599204120667,
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "VIP1",
"trackimages": [
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/739d37cab2be86f487902715d63d16bd0e4ad4a189e7641dd622b7c78dda5e49?token=d94cad56-6af6-4f5d-88c3-045a6605a304",
"filetype": "jpg",
"filename": "u=790823546,219433842&fm=26&gp=0.jpg",
"filesize": "26593",
"filehash": "739d37cab2be86f487902715d63d16bd0e4ad4a189e7641dd622b7c78dda5e49"
}
],
"vidlist": {
"type": 0,
"vidlist": [
"0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14"
]
}
},
"base": {
"name": "美食享用0904",
"endtime": "",
"starttime": "",
"timestamp": 1599204242627
}
}
],
"customizedDisplayInfo": {
"blockinfo": {
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"dataUuid": "00000000-fd5b-4cfc-a0cb-2a6b02200006",
"hash": "7dbd211df7dff093206d88e22d6234bf18f290c2d18b09681a2e0a9717a08452"
},
"custom": {
"webpages": [
{
"webpagelink": "https://vechain.com/",
"webpagename": "官网"
}
],
"moreimages": [
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/30f432ae73df6bc9d628dac2a177c9377ced72ab7a860c490a52bd2c47a41a72?token=77f23f0b-2cbb-42bb-bbb9-dfa8156d3693",
"filetype": "jpg",
"filename": "photo-gallery-01.jpg",
"filesize": "470124",
"filehash": "30f432ae73df6bc9d628dac2a177c9377ced72ab7a860c490a52bd2c47a41a72"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/79c5165f838f4336415ddbb69154991faf4b9eb95a30fb3453bf6b4e6e73f0b1?token=43647bb2-fd8b-4358-a4e1-da149df99173",
"filetype": "jpg",
"filename": "photo-gallery-04.jpg",
"filesize": "382014",
"filehash": "79c5165f838f4336415ddbb69154991faf4b9eb95a30fb3453bf6b4e6e73f0b1"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/a6d55f52966ab44b5960ed862bd3aea28bd1f4c70482e4b6737d851d2c50c602?token=89a0b2d5-58f4-4faf-b4d3-24433608b5c4",
"filetype": "jpg",
"filename": "20200707134310_4666.jpg",
"filesize": "1105272",
"filehash": "a6d55f52966ab44b5960ed862bd3aea28bd1f4c70482e4b6737d851d2c50c602"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/6208e250bc9e4270cd1dab5535a31b178e85e150c8bbfb5a3955bd1ee6021fad?token=6547d0fa-d583-4c21-967a-ae85f23d5966",
"filetype": "jpg",
"filename": "20200707133714_3182.jpg",
"filesize": "1233765",
"filehash": "6208e250bc9e4270cd1dab5535a31b178e85e150c8bbfb5a3955bd1ee6021fad"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/0f7b40cdae0ac822794b65a1e2073f638a3a44206f7b3f253530efbeed27aa8d?token=ac9501a3-22fa-4622-9037-7f2d4fe9eff3",
"filetype": "jpg",
"filename": "20200604233702_0783.jpg",
"filesize": "222164",
"filehash": "0f7b40cdae0ac822794b65a1e2073f638a3a44206f7b3f253530efbeed27aa8d"
},
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/d5dda4d3f9e6d264239199244be721418edb53cc96ace1711a32d1f8b447a7f0?token=cea97aef-193c-43e1-be10-0dade9bed609",
"filetype": "jpg",
"filename": "20200707140450_5969.jpg",
"filesize": "1166940",
"filehash": "d5dda4d3f9e6d264239199244be721418edb53cc96ace1711a32d1f8b447a7f0"
}
]
},
"base": {
"name": "V酒店介绍",
"endtime": "",
"starttime": "",
"timestamp": 1599132361422
}
},
"sku": {
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112250aa366fca6ba8e285309b662559ea6ed86b68001466ab",
"dataUuid": "00000000-55a9-4caf-aec8-7e6602200000",
"txId": "0x357cab59c15c933402d105855f7e4e88af1a52a699c8464d7d1ae8b820c70de3",
"hash": "e3b1bab107677b6051d1ad928acd97a5ee7402004593b93ad3926a7c47ce7511"
},
"custom": {},
"base": {
"mainimage": {
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/632948cc24cc5fd857a424a9b5161d61cfcd3be6158e15d5ea03844466aff843?token=ae1a64b2-4a13-4c8a-a99f-e11adf61cf0b",
"filetype": "jpeg",
"filename": "番茄炒蛋.jpeg",
"filesize": "12272",
"filehash": "632948cc24cc5fd857a424a9b5161d61cfcd3be6158e15d5ea03844466aff843"
},
"skucode": "tomoto",
"productname": "番茄炒蛋",
"description": "西红柿炒鸡蛋,又名番茄炒蛋,是许多百姓家庭中一道普通的大众菜肴。烹饪方法简单易学,营养搭配合理。鲜艳,爽口、开胃,成为中国菜肴中最具代表性、最经典的美食之一。其营养价值丰富,具有营养素互补的特点以及健美抗衰老的作用。",
"endtime": "",
"starttime": "",
"productparames": [
{
"value": "红黄相间,鲜香酸甜",
"key": "特色"
},
{
"value": "酸甜微咸",
"key": "口味"
},
{
"value": "炒",
"key": "制作工艺"
},
{
"value": "鸡蛋(150克),西红柿(2个),食用油,盐(3克),清水(少许),生抽,味精,葱花(10克),糖(少许)",
"key": "食材"
},
{
"value": "西红柿含有丰富的维生素C和B族维生素。鸡蛋含有大量的维生素和矿物质及有高生物价值的蛋白质;蛋黄中含有丰富的卵磷脂、固醇类、蛋黄素以及钙、磷、铁、维生素A、维生素D及B族维生素。这些成分对增进神经系统的功能大有裨益,因此,鸡蛋西红柿是很好的健脑食品",
"key": "营养价值"
},
{
"value": "鸡蛋与兔肉相克,者各有一些生物活性物质,若同炒同食,则易产生刺激肠胃道的物质而引起腹泻,故不宜同食",
"key": "饮食忌"
}
],
"timestamp": 1599132031153
}
},
"buinfo": [
{}
],
"dcp4": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c100159911225018c974e046692a86084f7fc1ce04e5a6a5120e0bd17c",
"dataUuid": "00000000-14df-4314-90f9-797402200005",
"txId": "0x609e12ff2ac649b8925d1bd3e0cb9a567722cf04daa94cd5c48e770c38d9f809",
"hash": "86b89f40cc7479e3bb2ebba67b77435df3ff94b494b51e3713e0c19fcdb0bfee"
},
"custom": {
"textplain_002": "2020Jul0002",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "V酒店",
"datarefer_000": [
{
"datahash": "32240ce435e7506735bd92cab6837711c01af9a4f61e991cd5f57ad2aa51fac4",
"datauuid": "00000000-a02c-4b56-ab92-b89c02200005",
"clauseindex": 0,
"uuid": "00000000-a02c-4b56-ab92-b89c02200005"
}
],
"otherlist1584608872847": [
{}
]
},
"base": {
"name": "收货",
"endtime": "",
"starttime": "",
"timestamp": 1599131190974
}
},
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112250d7a8705fc207a2cfb84dee12c53eca0326b49447411d",
"dataUuid": "00000000-26c0-44d3-ac53-4e6302200005",
"txId": "0x65352864f2544f697f1e250d0393225aebc870a7ea9ab348a6b6569355071d28",
"hash": "9890f640a68ff1d60befd27c830c384c299ce06eafd02cd80a55369773e5867e"
},
"custom": {
"textplain_002": "2020Jul0001",
"textmultiline1584608783484": "西红柿9月交货",
"otherlist1587871739441": [],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"datarefer_000": [
{
"datahash": "38993554c73da8e9b7f47f5e5d64aa96d7f66ed1a4a920fd3347780fabbcec54",
"datauuid": "00000000-aff2-4bfe-8cd2-03c702200005",
"clauseindex": 0,
"uuid": "00000000-aff2-4bfe-8cd2-03c702200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "数量",
"textmultiline1584608883001": "100斤"
}
]
},
"base": {
"name": "收货0904",
"endtime": "",
"starttime": "",
"timestamp": 1599203101824
}
}
],
"dcp1": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c10015991122504f006523c49c61f5a05f59fe186aff01ac77cabbc4f3",
"dataUuid": "00000000-ae8b-4890-9678-5dcd02200005",
"txId": "0x0a33a43805a9386d8cd545cec7542b2593cacba563e895e4e95d815891fc0f44",
"hash": "852113fefb54a0147f0aaa2e26168dcde8c3c7e36285fd832b1d876bc3d13a77"
},
"custom": {
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"otherlist1588377948929": [
{
"filelocation": "https://toolchain-datacenter-test.vechaindev.com/v1/data/16332047bfc3f9c4c845afc01b9211e8/216e3e64991d1867006e977277e2286d6ed29dd3f352e7d81e9cfd897cdeb552?token=a0f0e971-b3f3-4e47-9def-34839efe1fa2",
"filetype": "mp4",
"filename": "ef3798402b2a58132236b620f551b031.mp4",
"filesize": "17386025",
"filehash": "216e3e64991d1867006e977277e2286d6ed29dd3f352e7d81e9cfd897cdeb552"
}
],
"datarefer_000": [
{
"datavid": "0x492f06c100159911225018c974e046692a86084f7fc1ce04e5a6a5120e0bd17c",
"datahash": "86b89f40cc7479e3bb2ebba67b77435df3ff94b494b51e3713e0c19fcdb0bfee",
"datauuid": "00000000-14df-4314-90f9-797402200005",
"clauseindex": 0,
"txid": "0x609e12ff2ac649b8925d1bd3e0cb9a567722cf04daa94cd5c48e770c38d9f809",
"uuid": "00000000-14df-4314-90f9-797402200005"
},
{
"datahash": "b510ce7ff7b13151ec27f2a4ec4d40adcff2a0958ec4237ab2bf488b15efcede",
"datauuid": "00000000-2116-422d-ae36-655702200005",
"clauseindex": 0,
"uuid": "00000000-2116-422d-ae36-655702200005"
},
{
"datavid": "0x492f06c1001599112250d7a8705fc207a2cfb84dee12c53eca0326b49447411d",
"datahash": "9890f640a68ff1d60befd27c830c384c299ce06eafd02cd80a55369773e5867e",
"datauuid": "00000000-26c0-44d3-ac53-4e6302200005",
"clauseindex": 0,
"txid": "0x65352864f2544f697f1e250d0393225aebc870a7ea9ab348a6b6569355071d28",
"uuid": "00000000-26c0-44d3-ac53-4e6302200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "原料1",
"textmultiline1584608883001": "西红柿"
},
{
"textplain1584608879092": "原料2",
"textmultiline1584608883001": "鸡蛋"
},
{
"textplain1584608879092": "做法1:",
"textmultiline1584608883001": "将鸡蛋打入碗中,快速搅匀至蛋黄打散,西红柿切块。"
},
{
"textplain1584608879092": "2",
"textmultiline1584608883001": "锅热后倒入油,葱花爆香后倒入蛋液,鸡蛋炒散炒熟。"
},
{
"textplain1584608879092": "3",
"textmultiline1584608883001": "鸡蛋炒至金黄后,倒入西红柿块翻炒,直至西红柿超软,汤汁溢出,加入盐和白糖,收汁后即可出锅"
}
]
},
"base": {
"name": "炒菜0904",
"endtime": "",
"starttime": "",
"timestamp": 1599203311170
}
}
]
},
"certUrl": "https://cert-v4.vtho.net/?vid=0x492f06c100159913242017028c3dbb72d86ad944f700a0aa1319ef1a51c44d14",
"explorerUrl": "https://explore-testnet.vechain.org",
"dataRefData": {
"trackinfo": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba544001599125146eedb1c110a0a0ce1cff0baf902a7ff6d648e70c1b68d",
"dataUuid": "00000000-a02c-4b56-ab92-b89c02200005",
"txId": "0x0656f0d5b0edf0969406aeb1acd74bafa92932d202c94f88ba250176ee147808",
"hash": "32240ce435e7506735bd92cab6837711c01af9a4f61e991cd5f57ad2aa51fac4"
},
"custom": {
"tracktime": 1599130044207,
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "养殖场",
"datarefer_000": [
{
"datavid": "0xf02ba54400159912514617fe8a03031f8b9a514c75b4e3fb8693d9988d1a3e83",
"datahash": "fdae355ce8afb4aed6b8e850644116b362ab2b125c5191678c9eb3ba91ffd8db",
"datauuid": "00000000-bcbe-4731-a021-787802200001",
"clauseindex": 0,
"txid": "0x73d1b8ccc3aac2fdd56c5a5d6dd481369ff289527927263da0bb3a9763b47b9e",
"uuid": "00000000-bcbe-4731-a021-787802200001"
}
],
"textplain_000": "2020Jul0002",
"vidlist": {
"type": 0,
"vidlist": [
"0xf02ba5440015789115950bc8f02025a3aec02450110ae127d8d62565c683776f"
]
}
},
"base": {
"name": "发货",
"endtime": "",
"starttime": "",
"timestamp": 1599130142026
}
},
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa200159911165078224b1d7a15cef8224ce18542e92ea281df76fd49e0",
"dataUuid": "00000000-aff2-4bfe-8cd2-03c702200005",
"txId": "0x215c214d666de585f5d5c3508aa3868c20abcb3872b0451542caec93b62f0d06",
"hash": "38993554c73da8e9b7f47f5e5d64aa96d7f66ed1a4a920fd3347780fabbcec54"
},
"custom": {
"tracktime": 1599202462431,
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"datarefer_000": [
{
"datavid": "0xaa56efa2001599111650e082daa47e1526cddd7912fc8dbedd9968b3cc27b3e0",
"datahash": "ef7e8975f6c4d7234000b8c44836c40811e27c7b0a4f3e4e05f8c38f79a7d16f",
"datauuid": "00000000-9d6c-4d35-a55c-403e02200001",
"clauseindex": 0,
"txid": "0x18a84fa1f83b540b1b44c64a005aaf0f67d82d0836c1a4ca9131993de36be665",
"uuid": "00000000-9d6c-4d35-a55c-403e02200001"
}
],
"textplain_000": "2020Jul0001",
"vidlist": {
"type": 0,
"vidlist": [
"0xaa56efa20015978308857a88e99458803bf32a37b8804f526b4a4707be41839a"
]
}
},
"base": {
"name": "发货0904",
"endtime": "",
"starttime": "",
"timestamp": 1599202562077
}
}
],
"batch_a63f": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa2001599111650e082daa47e1526cddd7912fc8dbedd9968b3cc27b3e0",
"dataUuid": "00000000-9d6c-4d35-a55c-403e02200001",
"txId": "0x18a84fa1f83b540b1b44c64a005aaf0f67d82d0836c1a4ca9131993de36be665",
"hash": "ef7e8975f6c4d7234000b8c44836c40811e27c7b0a4f3e4e05f8c38f79a7d16f"
},
"custom": {},
"base": {
"batchname": "Dew测试",
"endtime": "",
"starttime": "",
"skuinfo": [
{
"datavid": "0xaa56efa2001599111650b1babb1f78713a707560ec74d2f2adc4a890aabcf3b9",
"uuid": "00000000-d9b9-4ad9-a377-107d02200000"
}
],
"timestamp": 1599202291052
}
}
],
"00000000-8709-40bc-9df0-103400200001": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba54400159912514617fe8a03031f8b9a514c75b4e3fb8693d9988d1a3e83",
"dataUuid": "00000000-bcbe-4731-a021-787802200001",
"txId": "0x73d1b8ccc3aac2fdd56c5a5d6dd481369ff289527927263da0bb3a9763b47b9e",
"hash": "fdae355ce8afb4aed6b8e850644116b362ab2b125c5191678c9eb3ba91ffd8db"
},
"custom": {},
"base": {
"batchname": "鸡蛋Jul",
"endtime": "",
"starttime": "",
"skuinfo": [
{
"datavid": "0xf02ba5440015991251465b7eddf910600c9c59399ebd6d41cf97902e4e6c32fc",
"uuid": "00000000-9687-46cd-8fc4-550b02200000"
}
],
"timestamp": 1599129391321
}
}
],
"00000000-7f12-4223-bf61-95c700200005": [
{
"blockinfo": {
"clauseIndex": 0,
"uid": "0xd43532b0c7648c78b323325f19fdb2593bb7b10cb3089542103d72db3cd3865b",
"chain": "FORMAL",
"dataVid": "0x492f06c1001599112251f3d4ae8dba82036a34c84275bbc2cc306ebde6dc4119",
"dataUuid": "00000000-2116-422d-ae36-655702200005",
"txId": "0x65af3b60ba87ca2e37b3d352fec27b4960c1013492c97d3e5e737764cf7ca795",
"hash": "b510ce7ff7b13151ec27f2a4ec4d40adcff2a0958ec4237ab2bf488b15efcede"
},
"custom": {
"otherobject1589797181953": {
"textboolean_112": true,
"textfloat_068": "1.45"
},
"otherobject1589794734057": {
"textboolean_102": true,
"textfloat_058": "0.97"
},
"otherobject1589795713089": {
"textfloat_060": "0.97",
"textboolean_104": true
},
"otherobject1589796094720": {
"textfloat_064": "0.97",
"textboolean_108": true
},
"otherobject1592886190851": {
"textfloat_080": "1.45",
"textboolean_124": true
},
"otherobject1589796855745": {
"textboolean_110": true,
"textfloat_066": "0.97"
},
"otherobject1592884759306": {
"textboolean_120": true,
"textfloat_076": "0.97"
},
"otherobject1592885047765": {
"textboolean_122": true,
"textfloat_078": "0.97"
},
"bizdate": 1599062400000,
"otherobject1594717522299": {
"textfloat_082": "0.97",
"textboolean_126": true
},
"otherobject1589797610825": {
"textfloat_074": "0.97",
"textboolean_118": true
},
"otherobject1589794371142": {
"textboolean_100": true,
"textfloat_056": "0.97"
},
"otherobject1589796080461": {
"textfloat_062": "1.45",
"textboolean_106": true
},
"otherobject1589797569974": {
"textfloat_072": "0.97",
"textboolean_116": true
},
"textdate_028": "",
"otherobject1589797415053": {
"textfloat_070": "0.97",
"textboolean_114": true
}
},
"base": {
"name": "王梅梅",
"endtime": "",
"starttime": "",
"timestamp": 1599125011050
}
}
],
"dcp4": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba5440015991251466e5802d6d12dbd6d9c1987804dd8ea523d07b49264b5",
"dataUuid": "00000000-7650-452b-b647-d47602200005",
"txId": "0x14d6f2d93f1655d3505553f286a5cd10c993283e0a408cd0bc4db3953c0ea278",
"hash": "247f5e087c7c665c2ce96e4e706839a375fef62de7587099c48eb608807344bf"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585?token=c84d90b8-bd12-42df-8983-311815affb1f",
"filetype": "jpg",
"filename": "母鸡蛋.jpg",
"filesize": "273390",
"filehash": "4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/4c3e078e6afcd2bdb47e1f1de6bfd8afcc55ecc1c052b8d5d442b18295c08dde?token=ca382cc1-79a2-4f61-acb3-9ee075cff715",
"filetype": "png",
"filename": "鸡蛋1.png",
"filesize": "34469",
"filehash": "4c3e078e6afcd2bdb47e1f1de6bfd8afcc55ecc1c052b8d5d442b18295c08dde"
}
],
"textmultiline1584608783484": "散养土鸡蛋",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "养殖场",
"datarefer_000": [
{
"datahash": "659e4b6f7b2ebbddfe394618b6f09acd8e5a5853c55dcde9c22a6eb6db64fd89",
"datauuid": "00000000-3797-488d-b18b-843902200005",
"clauseindex": 0,
"uuid": "00000000-3797-488d-b18b-843902200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "产量",
"textmultiline1584608883001": "5000个"
}
]
},
"base": {
"name": "捡蛋",
"endtime": "",
"starttime": "",
"timestamp": 1599128102026
}
},
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa200159911165003d727a3dbfc82cf4f931a02b67714b0553615fa334e",
"dataUuid": "00000000-4dec-42b7-bd7a-bea402200005",
"txId": "0xd05de2f11627222837c4f6e474fd487382cd6b853001d501533619075c85705a",
"hash": "b2a144887399e481d0dd83271a01f327b194207a6da48ae1d7e94be249e63ec5"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/430be6d214e179af7f87ca4f1ca8d0dfee2658dfd3c6ee48134982b907eebf5b?token=2d973f1d-b922-4090-adf4-160cabab2593",
"filetype": "jpeg",
"filename": "tomato1.jpeg",
"filesize": "172085",
"filehash": "430be6d214e179af7f87ca4f1ca8d0dfee2658dfd3c6ee48134982b907eebf5b"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e?token=66800491-19bb-4676-a2fd-6c8e44a9ce1f",
"filetype": "jpeg",
"filename": "tomato.jpeg",
"filesize": "91514",
"filehash": "12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e"
}
],
"textmultiline1584608783484": "番茄是一种喜温性的蔬菜,在正常条件下,同化作用最适温度为20~25℃,根系生长最适土温为20~22℃。喜光,光饱和点为70000lx,适宜光照强度为30000~50000lx。也是短日照植物,番茄喜水,一般以土壤湿度60%~80%、空气湿度45%~50%为宜。",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "崇明农场",
"datarefer_000": [],
"otherlist1584608872847": [
{
"textplain1584608879092": "播种时间",
"textmultiline1584608883001": "2020年6月底"
},
{
"textplain1584608879092": "土壤酸碱度",
"textmultiline1584608883001": "PH6.5"
},
{
"textplain1584608879092": "种植面积",
"textmultiline1584608883001": "15亩"
},
{
"textplain1584608879092": "种植方式",
"textmultiline1584608883001": "大棚种植"
},
{
"textplain1584608879092": "产地",
"textmultiline1584608883001": "上海崇明"
}
]
},
"base": {
"name": "西红柿种植",
"endtime": "",
"starttime": "",
"timestamp": 1599123181631
}
}
],
"dcp1": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba544001599125146cf464cc64b20a245db95196736086379669d9eaed9c8",
"dataUuid": "00000000-6fb3-431d-9f91-3da702200005",
"txId": "0x9fe4c3d5688657c5a26c4fab325bb626e66984adcf624a53b7671dbef5a00b92",
"hash": "848fceba151f26e8ac89039e405e6984c8b7536df5f2a06f6ccef1dc53dccfea"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/b73f5d951a7c283d631ac7e97b77929cd8a53657171bbcec427e098bb30cd36d?token=62d05d53-33bf-4315-b3d1-3a20c8119fe1",
"filetype": "jpeg",
"filename": "鸡.jpeg",
"filesize": "26743",
"filehash": "b73f5d951a7c283d631ac7e97b77929cd8a53657171bbcec427e098bb30cd36d"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/31fc23b194bc95db20edf8ee9a320a93909035af4fdf5d7623930e0df80cadd3?token=9b89da3d-a9b2-47b0-b123-2908c4a18585",
"filetype": "jpeg",
"filename": "鸡1.jpeg",
"filesize": "36614",
"filehash": "31fc23b194bc95db20edf8ee9a320a93909035af4fdf5d7623930e0df80cadd3"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585?token=93857cdc-2e20-4c37-9f0e-55f5cca5a531",
"filetype": "jpg",
"filename": "母鸡蛋.jpg",
"filesize": "273390",
"filehash": "4b905060b70abac5a5b4aa9d0ac1230140c1ce4ce9293dad619a9133cc6f3585"
}
],
"textmultiline1584608783484": "我国是世界上最早驯养鸡的国家,至少有四千多年的历史。在湖北、江西、山东、河南、甘肃等省都发现有四千多年前的鸡骨或陶鸡。",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"department": "养殖场",
"datarefer_000": [],
"otherlist1584608872847": [
{
"textplain1584608879092": "孵化时间",
"textmultiline1584608883001": "2019年8月"
},
{
"textplain1584608879092": "养殖方法",
"textmultiline1584608883001": "散养"
}
]
},
"base": {
"name": "养鸡",
"endtime": "",
"starttime": "",
"timestamp": 1599127770969
}
},
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xaa56efa2001599111650306a4ab6b46b2c1f47a4234bcb4107bc9aa14accce4e",
"dataUuid": "00000000-19c4-4cdf-9487-206202200005",
"txId": "0x27b7640370779c5c71f2cbc9a14e20cfdfd91213ffe985c08ef5c4bc3419c2eb",
"hash": "5f904a785ea9c7d2c151a399632a963f923d3360e48f55d363734ccd288de84b"
},
"custom": {
"otherlist1584691151987": [
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/b2716a2981236ba12865abccfa0657de22cd1f76ebfd3e25c8021bf6f9b1682b?token=1d78ccd6-4e6d-4374-aba1-67476cbe7124",
"filetype": "jpeg",
"filename": "tomato2.jpeg",
"filesize": "25511",
"filehash": "b2716a2981236ba12865abccfa0657de22cd1f76ebfd3e25c8021bf6f9b1682b"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e?token=9a98de4d-4379-41a1-8c43-97384c4759cf",
"filetype": "jpeg",
"filename": "tomato.jpeg",
"filesize": "91514",
"filehash": "12d4ba2de99da1b12873117d7ef2f0b8a5a9a3ccb7c2921d4dab832e5d6e657e"
},
{
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/b4e39f3f9471306ae0e385db2a7b2f6b/0886b1dcb30a0489cdc18459ede991669bbbb122e3f2f6c7bcd8c30265ad7e9b?token=eed375dc-078e-470b-b456-3684d768b280",
"filetype": "jpeg",
"filename": "tomato3.jpeg",
"filesize": "9577",
"filehash": "0886b1dcb30a0489cdc18459ede991669bbbb122e3f2f6c7bcd8c30265ad7e9b"
}
],
"textmultiline1584608783484": "6月采摘季节,红艳艳",
"otherlist1587871739441": [
{}
],
"gps": {
"country": "中国",
"address": "",
"province": "上海",
"city": "上海",
"street": "",
"precision": "65.0",
"district": "",
"lon": 121.476753,
"lat": 31.224349
},
"datarefer_000": [
{
"datavid": "0xaa56efa200159911165003d727a3dbfc82cf4f931a02b67714b0553615fa334e",
"datahash": "b2a144887399e481d0dd83271a01f327b194207a6da48ae1d7e94be249e63ec5",
"datauuid": "00000000-4dec-42b7-bd7a-bea402200005",
"clauseindex": 0,
"txid": "0xd05de2f11627222837c4f6e474fd487382cd6b853001d501533619075c85705a",
"uuid": "00000000-4dec-42b7-bd7a-bea402200005"
}
],
"otherlist1584608872847": [
{
"textplain1584608879092": "重量",
"textmultiline1584608883001": "100斤"
}
]
},
"base": {
"name": "采摘西红柿",
"endtime": "",
"starttime": "",
"timestamp": 1599202082076
}
}
],
"00000000-211a-44c5-a6e3-36f100200000": [
{
"blockinfo": {
"clauseIndex": 0,
"chain": "FORMAL",
"dataVid": "0xf02ba5440015991251465b7eddf910600c9c59399ebd6d41cf97902e4e6c32fc",
"dataUuid": "00000000-9687-46cd-8fc4-550b02200000",
"txId": "0xe57e41e53fc7cea3cebd2c307fcade6471e8c16a5f37424383dffafdcb090e21",
"hash": "79327f68ca84a7534a457f8e4c44b4b6a861971126cd31e08418902ed7b26d85"
},
"custom": {},
"base": {
"mainimage": {
"filelocation": "https://gateway-test.vechaindev.com/toolchain-datacenter/v1/data/1dba745952db6112bf8be5bf208959f3/00a1041337e0cac9f4d622cc27c0088799af641d910407b16252f081eff45f88?token=597302e4-f115-4841-973b-040b00126a9b",
"filetype": "jpg",
"filename": "鸡蛋.jpg",
"filesize": "32803",
"filehash": "00a1041337e0cac9f4d622cc27c0088799af641d910407b16252f081eff45f88"
},
"skucode": "egg001",
"productname": "鸡蛋",
"description": "鸡蛋,又名鸡卵、鸡子,是母鸡所产的卵。其外有一层硬壳,内则有气室、卵白及卵黄部分。富含胆固醇,营养丰富。一个鸡蛋重约50克,含蛋白质7-8克,脂肪5-6克。鸡蛋蛋白质的氨基酸比例很适合人体生理需要、易为机体吸收,利用率高达98%以上,营养价值很高,是人类常食用的食物之一。含有很高的蛋白质。 ",
"endtime": "",
"starttime": "",
"productparames": [
{
"value": "32个",
"key": "数量"
},
{
"value": "每百克鸡蛋含蛋白质12.58克 [3] ,主要为卵白蛋白和卵球蛋白,其中含有人体必需的8种氨基酸,并与人体蛋白的组成极为近似,人体对鸡蛋蛋白质的吸收率可高达98%。每百克鸡蛋含脂肪11~15克,主要集中在蛋黄里,也极易被人体消化吸收,蛋黄中含有丰富的卵磷脂、固醇类、蛋黄素以及钙、磷、铁、维生素A、维生素D及B族维生素。这些成分对增进神经系统的功能大有裨益,因此,鸡蛋又是较好的健脑食品。",
"key": "价值"
},
{
"value": "煮、蒸、炸、炒等",
"key": "烹饪"
}
],
"timestamp": 1599129062225
}
}
]
},
"advert": "pro",
"language": [
"zh-CN"
]
}
}
Appendix:
System Language and Browser Language Comparison Table
Language Full Name | System Language | Browser Language | Comment |
---|---|---|---|
English | en | en/en-(*) |
en / en-(*) indicates that the browser language is in one of the below list. en |
中文简体 | zh-CN | zh-cn/zh | browser language is zh-cn or zh |
中文繁体 | zh-HK | zh-hk/zh-tw | browser language is zh-hk or zh-tw |
Deutsch | de | de/de-(*) | please refer to the comment of en |
日本語 | ja | ja | |
한국어 | ko | ko | |
Bahasa Melayu | ms | ms | |
italiano | it-CH | it/it-(*) | please refer to the comment of en |
français | fr-CH | fr/fr-(*) | please refer to the comment of en |
Türkçe | tr | tr | |
Русский | ru | ru/ru-(*) | please refer to the comment of en |
ไทย | th | th | |
العربية | ar | ar | |
עברית | he | he | |
Bahasa Indonesia | id | id | |
Português | pt-br | pt/pt-(*) | please refer to the comment of en |
Tiếng Việt | vi | vi | |
Español | es | es/es-(*) | please refer to the comment of en |
Suomi kieli | fi | fi/fi-(*) | please refer to the comment of en |
FAQ
Q: Landingpage cannot properly load css/js
A: Since the Landingpage package is not under the root domain name, you need to configure webpack to package it as the current path
module.exports = {
......
publicPath: './'
}
Q: Landingpage page routing problem
A: Landingpage will be uploaded to vechain's OSS server, so vue-router needs to use the default hash mode
Comments
0 comments
Please sign in to leave a comment.