{
"success": true,
"model": {
"dataList": [
{
"bizCode": "singletreasure",
"mainAccountId": 368873866,
"title": "现货 中公教育2025年国家公务员考试用书 国考公务员录用专业 申论教材 25年李永新国家公务员考试推荐笔试书籍新大纲版",
"itemId": 639780542534,
"itemPic": "//img.alicdn.com/imgextra/i4/368873866/O1CN01TGCXqk1eQg6X7JtJh_!!0-item_pic.jpg",
"itemUrl": "//item.taobao.com/item.htm?id=639780542534",
"sellerCode": null,
"price": 6600,
"priceYuan": "66.00",
"discountPrice": null,
"discountPriceDisplay": null,
"tag": null,
"name": "新品促销",
"crowdId": null,
"startTime": 1738425600000,
"endTime": 1838131199000,
"status": 2,
"actId": 73367451711,
"discountType": 1,
"actChannel": "1",
"channel": null,
"actName": "新品促销",
"actDescription": "考研",
"actStatusDesc": {
"label": "EFFECTIVE",
"value": "进行中"
},
"quantity": 500,
"promotionLevel": 3,
"activities": [
{
"mainAccountId": 368873866,
"operatorId": null,
"activityId": "73367451711",
"detailId": null,
"itemId": null,
"skuId": null,
"id": null,
"draftId": null,
"useDraft": false,
"templateId": null,
"writeType": 0,
"bizCode": null,
"name": "新品促销",
"description": "考研",
"startTime": 1738425600000,
"endTime": 1838131199000,
"warmupStartTime": null,
"status": 2,
"rawStatus": 1,
"toolCode": "tmallNormalItem",
"promotionName": "commonItemPromotion",
"type": null,
"actChannel": "1",
"channel": null,
"actFlag": null,
"wirelessActInfo": null,
"createTime": 1693992613000,
"modifyTime": null,
"promotionLevel": 3,
"detailUpdateType": null,
"crowdId": "-1",
"crowdType": null,
"details": null,
"processFailDetails": null,
"activityLimitConfigList": null,
"itemIds": null,
"activityType": 2,
"preCheck": null,
"mktJob": null,
"mktJobConfigDTO": null,
"operationType": null,
"options": null,
"promotionType": null,
"participateRange": 0,
"mktChannel": null,
"mktJobInstanceVO": null,
"fromHSF": false,
"feature": {
"freePost": "false",
"draftId": "876453358",
"expireRemindDay": "3",
"promotionLevel": "3",
"wirelessSrc": "false",
"actChannel": "1",
"excludeAreas": "",
"maybachMigrate": "true",
"isUmcc": "true",
"crowdId": "-1",
"activityChannel": "1",
"originalSellerId": "368873866",
"createdTime": "2025-02-02 08:32:47",
"discountType": "1",
"activityType": "2"
},
"operationParam": {},
"extra": {},
"errorType": null,
"errorMsg": null,
"outerReq": false,
"needFillDetail": true,
"detailSkipActCheck": false,
"onlyProcessAllDetails": false,
"skipTagFill": false,
"templateFileMark": null,
"wireless": false,
"recordFlag": 0,
"allowParticipateRepeat": null,
"requestFrom": null,
"referParam": null,
"skipOperationLog": null,
"money": null,
"count": null,
"actNotSupportModify": null,
"forceDelete": null,
"preCheckNotInterdict": null,
"totalCount": null,
"limit": null,
"mktSource": null,
"tag": null,
"discountType": 1,
"freePost": false,
"excludeAreas": "",
"expireRemindDay": 3,
"expireRemind": null,
"globalDiscount": null,
"globalDiscountDisplay": null,
"maxDiscountPriceYuan": null,
"minDiscountPriceYuan": null,
"statusDesc": {
"label": "EFFECTIVE",
"value": "进行中"
},
"optionList": [],
"processStatus": null,
"benefit": null,
"newAct": false,
"payUrl": null,
"payAmountYuan": "",
"bseller": null
}
],
"details": [
{
"mainAccountId": 368873866,
"operatorId": null,
"sellerId": null,
"activityId": "73367451711",
"detailId": "1151142120922",
"itemId": 639780542534,
"skuId": 5125490367970,
"id": null,
"draftId": null,
"useDraft": false,
"writeType": 0,
"bizCode": "singletreasure",
"name": "新品促销",
"description": null,
"startTime": 1738425600000,
"endTime": 1838131199000,
"warmupStartTime": null,
"status": 2,
"rawStatus": 1,
"toolCode": "tmallNormalItem",
"promotionName": "commonItemPromotion",
"type": null,
"channel": null,
"promotionSource": null,
"actChannel": null,
"createTime": 1694004993000,
"modifyTime": 1738456367000,
"promotionLevel": 3,
"promotionType": null,
"participateRange": 0,
"crowdId": null,
"crowdName": null,
"oldCrowdAct": null,
"crowdType": null,
"activityType": null,
"preCheck": null,
"mktJob": null,
"mktJobConfigDTO": null,
"operationType": null,
"mktJobInstanceVO": null,
"errorCode": null,
"errorCodeStr": null,
"errorDisplayMsg": null,
"errorExtraMsg": null,
"priority": null,
"fromHSF": false,
"allowParticipateRepeat": null,
"feature": {
"mktOcc": "",
"mci": "73367451711",
"promotionLevel": "3",
"originalSellerId": "368873866",
"maybachMigrate": "true",
"dumpFlag": "false",
"FR_ItemFixPrice": "3300",
"isUmcc": "true",
"showModifyTime": "false"
},
"operationParam": {},
"extra": {
"skipTagFill": "true"
},
"itemTitle": "现货 中公教育2025年国家公务员考试用书 国考公务员录用专业 申论教材 25年李永新国家公务员考试推荐笔试书籍新大纲版",
"itemPrice": 6600,
"itemPriceYuan": "66.00",
"itemPic": "//img.alicdn.com/imgextra/i4/368873866/O1CN01TGCXqk1eQg6X7JtJh_!!0-item_pic.jpg",
"itemUrl": "//item.taobao.com/item.htm?id=639780542534",
"itemQuantity": 500,
"skuProps": "2025申论教材 ",
"skuOrderNum": 0,
"skuPrice": 6600,
"skuPriceYuan": "66.00",
"skuQuantity": 500,
"skuPic": "//img.alicdn.com/imgextra/i4/368873866/O1CN01TGCXqk1eQg6X7JtJh_!!0-item_pic.jpg",
"promotionPriceYuan": "33.00",
"tag": null,
"discountType": 1,
"discountDisplay": "33",
"discount": "3300",
"man": null,
"infinite": null,
"shopPromotionDiscount": null,
"discountPrice": 3300,
"discountPriceDisplay": "33.00",
"mkDiscountDisplay": null,
"mkDiscount": null,
"isDiscardFen": false,
"isMathFloor": false,
"limitCheck": null,
"freePost": false,
"excludeAreas": "",
"giftPool": null,
"giftList": null,
"benefit": null,
"benefitPriceYuan": "",
"benefitPrice": null,
"benefitPriceType": null,
"itemLimitConfig": {
"enable": -1,
"itemId": 639780542534,
"limitNum": 0,
"startTime": null,
"endTime": null,
"limitRuleType": null
},
"itemLimitConfigList": [
{
"enable": -1,
"itemId": 639780542534,
"limitNum": 0,
"startTime": null,
"endTime": null,
"limitRuleType": null
}
],
"limitConfig": {
"itemId": 639780542534,
"limitConfig": {
"lmtBuyerActivityItem": 0
}
},
"statusDesc": {
"label": "EFFECTIVE",
"value": "进行中"
},
"optionList": [
{
"text": "修改优惠",
"url": null,
"enable": true,
"disableReason": null,
"type": "MODIFY_DETAIL",
"order": null,
"action": null,
"tip": null,
"supportStatus": null,
"feature": null
},
{
"text": "查看数据",
"url": null,
"enable": true,
"disableReason": null,
"type": "VIEW_DATA",
"order": null,
"action": null,
"tip": null,
"supportStatus": null,
"feature": null
},
{
"text": "撤出活动",
"url": null,
"enable": true,
"disableReason": null,
"type": "DELETE_FROM_ACT",
"order": null,
"action": null,
"tip": null,
"supportStatus": null,
"feature": null
}
],
"isJoin": true,
"extendInfo": {},
"warnMsgList": null,
"errorMsgList": null,
"tips": null,
"itemTagTitle": null
}
],
"itemLimitConfig": {
"enable": -1,
"itemId": 639780542534,
"limitNum": 0,
"startTime": null,
"endTime": null,
"limitRuleType": null
},
"limitConfig": {
"itemId": 639780542534,
"limitConfig": {
"lmtBuyerActivityItem": 0
}
},
"isDiscardFen": false,
"isMathFloor": false,
"optionList": [
{
"text": "修改优惠",
"url": null,
"enable": true,
"disableReason": null,
"type": "MODIFY_DETAIL",
"order": null,
"action": null,
"tip": null,
"supportStatus": null,
"feature": null
},
{
"text": "查看数据",
"url": null,
"enable": true,
"disableReason": null,
"type": "VIEW_DATA",
"order": null,
"action": null,
"tip": null,
"supportStatus": null,
"feature": null
},
{
"text": "撤出活动",
"url": null,
"enable": true,
"disableReason": null,
"type": "DELETE_FROM_ACT",
"order": null,
"action": null,
"tip": null,
"supportStatus": null,
"feature": null
}
],
"discountDisplay": null,
"discount": "3300",
"maxDiscountYuan": "33.00",
"minDiscountYuan": "33.00",
"maxDiscountDisplay": null,
"minDiscountDisplay": null,
"estimatePriceDisplay": null,
"minEstimatePriceDisplay": null,
"maxEstimatePriceDisplay": null,
"priceCalculateResult": null,
"newAct": false,
"newActDetail": false,
"promotionType": null,
"detailNum": null,
"feature": {
"mktOcc": "",
"mci": "73367451711",
"promotionLevel": "3",
"originalSellerId": "368873866",
"maybachMigrate": "true",
"dumpFlag": "false",
"FR_ItemFixPrice": "3300",
"isUmcc": "true",
"showModifyTime": "false",
"oneClickPanelUrl": null
},
"itemTagTitle": null,
"errorMsg": null,
"errorType": null,
"warnMsgList": [],
"errorMsgList": [],
"tips": [],
"extendInfo": {}
}
],
"curPage": 1,
"pageSize": 1,
"totalCount": 1,
"cursor": null,
"nextPage": 1,
"prevPage": 1,
"endRow": 1,
"hasNextPage": false,
"hasPrevPage": false,
"totalPage": 1,
"startRow": 0
},
"msgCode": null,
"msgInfo": null,
"extraMsg": null,
"extraErrorMsgs": null,
"httpStatusCode": 200
}
先用JSON提取工具提取details这个字段的值到列表中
details 其中这个字段值的列表数量大于1时,我在遍历的时候没问题,但是当其中的列表数量只有1个时,在遍历的时候就报错了
这个问题该怎么解决,是bug吗
不支持的格式转换,目标类型:Dict 源对象:System.String "feature": {
"mktOcc": "",
"mci": "73367451711",
"promotionLevel": "3",
"originalSellerId": "368873866",
"maybachMigrate": "true",
"dumpFlag": "false",
"FR_ItemFixPrice": "3300",
"isUmcc": "true",
"showModifyTime": "false"
} ex:键值对数据不合法,每行的格式为 Key:Value键值对数据不合法,每行的格式为 Key:Value
(----SKU标价同步:每个----)
https://pan.baidu.com/s/1NJw8ig5X3oy0hRHsv36LLg?pwd=kfyf
调试文件
先用JSON提取工具提取details这个字段的值到列表中
details 其中这个字段值的列表数量大于1时,我在遍历的时候没问题,但是当其中的列表数量只有1个时,在遍历的时候就报错了
这个问题该怎么解决,是bug吗
https://getquicker.net/Sharedaction?code=2e106ba6-cd5b-4370-ef9a-08dd4d6a4376
测试动作
使用js提取工具,提取出来最外面的大括号不见了,这个是正常的还是不正常