1 changed files with 70 additions and 3 deletions
-
73test.js
@ -1,3 +1,70 @@ |
|||
// https://xcx.dgscdw.com/food.shop.api/thirdOauth/XcxWxLogin.do
|
|||
|
|||
// https://xcx.dgscdw.com/food.shop.api/thirdOauth/XcxWxLogin.do
|
|||
const data = [ |
|||
{ |
|||
id: "c64a7f8fad6840298d37bcae9d04fb0b", |
|||
name: "土豆", |
|||
imageUrl: "http://cdn.boofoo.top/product/53e9a8b6-f9bf-41c4-b7e5-fce85655c05f_small", |
|||
type: "a22663477eb54bf2b2f895b631aae577", |
|||
oneTypeId: "decd4ccd5e334809977a2375f1717962", |
|||
minPrice: 1.28, |
|||
maxPrice: 1.28, |
|||
minMeasurePrice: null, |
|||
maxMeasurePrice: null, |
|||
unit: "普/斤", |
|||
stock: -1, |
|||
measureUnit: "斤", |
|||
specialOrder: 4, |
|||
oldPrice: null, |
|||
foodName: null, |
|||
mealTime: null, |
|||
specs: [ |
|||
{ |
|||
id: "d764e74bc24f483ba3c5fe76a4d63018", |
|||
unit: "普/斤", |
|||
stock: -1, |
|||
price: 1.28, |
|||
measureUnit: "斤", |
|||
measurePrice: 1.5, |
|||
oldPrice: null, |
|||
promotePrice: 0.98, |
|||
virtualStock: true, |
|||
minNum: 1, |
|||
chuxiao: false, |
|||
}, |
|||
], |
|||
chuxiao: false, |
|||
}, |
|||
{ |
|||
id: "f0dcae238d1a48a988ebd214ad6e5f7d", |
|||
name: "土豆丝", |
|||
imageUrl: "http://cdn.boofoo.top/product/d163fd00-1627-415d-8ecf-7156d2c68aec_small", |
|||
type: "a22663477eb54bf2b2f895b631aae577", |
|||
oneTypeId: "decd4ccd5e334809977a2375f1717962", |
|||
minPrice: 1.38, |
|||
maxPrice: 1.38, |
|||
minMeasurePrice: null, |
|||
maxMeasurePrice: null, |
|||
unit: "斤", |
|||
stock: -1, |
|||
measureUnit: "斤", |
|||
specialOrder: 0, |
|||
oldPrice: null, |
|||
foodName: null, |
|||
mealTime: null, |
|||
specs: [ |
|||
{ |
|||
id: "d4b20c9c50e2430c829803b936a1deda", |
|||
unit: "斤", |
|||
stock: -1, |
|||
price: 1.38, |
|||
measureUnit: "斤", |
|||
measurePrice: null, |
|||
oldPrice: null, |
|||
promotePrice: 0, |
|||
virtualStock: true, |
|||
minNum: 1, |
|||
chuxiao: false, |
|||
}, |
|||
], |
|||
chuxiao: false, |
|||
}, |
|||
]; |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue