1 Star 0 Fork 46

西东/APIJSON-Demo

forked from APIJSON/APIJSON-Demo 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
complex.html 944 Bytes
一键复制 编辑 原始数据 按行查看 历史
TommyLemon 提交于 2020-09-15 21:59 +08:00 . 从 APIJSON 主项目迁移 Demo 项目过来
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>GET:Complex</title>
<script type="text/javascript" src="../RequestUtil.js">
</script>
</head>
<body>
<script >
var json = {
"[]":{
"count":3,
"page":0,
"Moment":{
"@column":"id,userId,content,praiseUserIdList",
"userId{}":[
38710,
70793
]
},
"User":{
"@column":"id,name,head",
"id@":"/Moment/userId" //已通过encode函数自动转义 encodeURIComponent("/Moment/userId")
},
"[]":{
"count":3,
"Comment":{
"momentId@":"[]/Moment/id" //已通过encode函数自动转义 encodeURIComponent("[]/Moment/id")
}
}
}
};
request(URL_GET, json);
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/noear_admin/APIJSON-Demo.git
git@gitee.com:noear_admin/APIJSON-Demo.git
noear_admin
APIJSON-Demo
APIJSON-Demo
master

搜索帮助