forked from chhrrr/RAP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
150 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
#bodyStart | ||
<div id="container"> | ||
<p>对于RAP平台的任何问题,欢迎邮件至<a href="mailto:[email protected]">[email protected]</a></p> | ||
<p>RAP是THX平台中的产品,想了解THX更多内容,请访问:<a href="http://thx.alibaba-inc.com" target="_blank">http://thx.alibaba-inc.com</a></p> | ||
<p>RAP Github Repo: <a href="http://github.com/thx/RAP" target="_blank">http://github.com/thx/RAP</a></p> | ||
</div> | ||
#bodyEnd | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,9 @@ | |
<body> | ||
#bodyNewStart | ||
<!-- title block begin --> | ||
<p>对于RAP平台的任何问题,欢迎邮件至<a href="mailto:[email protected]">[email protected]</a></p> | ||
<p>RAP是THX平台中的产品,想了解THX更多内容,请访问:<a href="http://thx.alibaba-inc.com" target="_blank">http://thx.alibaba-inc.com</a></p> | ||
<p>RAP Github Repo: <a href="http://github.com/thx/RAP" target="_blank">http://github.com/thx/RAP</a></p> | ||
<div class="hero-unit"> | ||
<h1>Rigel Automation Platform</h1> | ||
<p>在开发WEB应用时前后端会约定请求接口,包含请求链接、参数等细节。RAP提供了接口数据的共享平台,功能强大使用方便。同时利用这些数据自动化的生成伪造数据、提供后端开发工具包等,减少重复劳动并提升开发效率。</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>RAP Example</title> | ||
<script src="http://g.tbcdn.cn/kissy/k/1.4.1/seed.js"></script> | ||
<!-- 引入RAP开始 --> | ||
<script type="text/javascript" src="rap.plugin.js?projectId=76&mode=3"></script> | ||
<script src="http://mockjs.com/dist/mock-min.js"></script> | ||
<!-- 引入RAP结束 --> | ||
|
||
</head> | ||
<body> | ||
<pre id="container"> | ||
</pre> | ||
<script> | ||
|
||
RAP.setBlackList([ | ||
'atest', | ||
/test/g | ||
]); | ||
RAP.setWhiteList([ | ||
'tiest', | ||
/test/g | ||
]); | ||
|
||
|
||
KISSY.use('node, ajax',function(S, Node, IO){ | ||
KISSY.io({ | ||
url:'/testxxx', | ||
dataType:'json', | ||
success:function(data){ | ||
console.log(data); | ||
Node.one('#container').html(JSON.stringify(data, null, 4)); | ||
} | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>RAP Example</title> | ||
<script src="http://g.tbcdn.cn/kissy/k/1.4.1/seed.js"></script> | ||
<!-- 引入RAP开始 --> | ||
<script type="text/javascript" src="rap.plugin.js?projectId=65&mode=1"></script> | ||
<script src="http://mockjs.com/dist/mock-min.js"></script> | ||
<!-- 引入RAP结束 --> | ||
</head> | ||
<body> | ||
<pre id="container"> | ||
</pre> | ||
<script> | ||
KISSY.use('node, ajax',function(S, Node, IO) { | ||
KISSY.io({ | ||
url:'/test1', | ||
dataType:'json', | ||
success:function(data){ | ||
console.log(data); | ||
Node.one('#container').html(JSON.stringify(data, null, 4)); | ||
} | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.