java 我后台用list 集合返回json 字符串,

[{"createDtm":"2016-09-0615:31:39.0","orderSt":3,"sumFcny":3720,"depDt":"2017-01-12",... [
{"createDtm":"2016-09-06 15:31:39.0","orderSt":3,"sumFcny":3720,"depDt":"2017-01-12","orderId":"201609060000018"},{"createDtm":"2016-09-07 13:24:20.0","orderSt":3,"sumFcny":8250,"depDt":"2017-02-08","orderId":"201609070000028"},{"createDtm":"2016-09-07 13:29:26.0","orderSt":3,"sumFcny":2750,"depDt":"2017-02-01","orderId":"201609070000030"},{"createDtm":"2016-09-09 13:17:01.0","orderSt":3,"sumFcny":6890,"depDt":"2016-09-09","orderId":"201609090000040"},{"createDtm":"2016-09-09 09:29:02.0","orderSt":4,"sumFcny":4710,"depDt":"2017-01-11","orderId":"201609090000004"},{"createDtm":"2016-09-09 09:39:10.0","orderSt":2,"sumFcny":12640,"depDt":"2017-02-05","orderId":"201609090000005"},{"createDtm":"2016-09-09 09:41:57.0","orderSt":3,"sumFcny":32800,"depDt":"2017-02-21","orderId":"201609090000006"},{"createDtm":"2016-09-09 10:03:57.0","orderSt":4,"sumFcny":32800,"depDt":"2017-02-21","orderId":"201609090000009"},{"createDtm":"2016-09-09 10:12:53.0","orderSt":3,"sumFcny":5400,"depDt":"2016-09-09","orderId":"201609090000011"},{"createDtm":"2016-09-09 10:29:01.0","orderSt":3,"sumFcny":12900,"depDt":"2017-02-01","orderId":"201609090000018"}
]
前台我Ajax 里data 我怎么写 要从后台获取的属性值呢,或者前台我ajax 怎么写呢?因为后台返回的json 个数据。
展开
 我来答
狮子座小情绪o
2018-01-09
知道答主
回答量:13
采纳率:33%
帮助的人:8.2万
展开全部
用Ajax发送数据是选择得方法(get/post),在你后台用Php的 $POST或者$GET来获取数据,解析数据,返回结果给你前端,在success里面接受数据
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式