1.后台返回数据,不知道怎么获取到price里面的值,试了好多,一直显示不出来。
2.返回数据如下: {
"ret": 0,
"ret_msg": "",
"list": [
{
"target_id": 0,
"target_name": "",
"price": [
{
"currency": 0,
"amount": 1,
"valid_duration": {
"start_time": 0,
"end_time": 0
},
"vasset_info": {
"vasset_name": "",
"vasset_price": 5,
"vasset_amount": 3,
"vasset_desc": "",
"usable_duration": {
"value": 12,
"unit": 1
}
}
}
],
"order_type": 1,
"sub_type": 1,
"target_type": 0,
"usable_duration": {
"value":0,
"unit":0
},
"available_duration": {
"start_time": 0,
"end_time": 0
},
"desc": ""
}
],
"total": 0
}
list.price.currency