Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tower1229 committed Sep 12, 2018
1 parent 97988dd commit fe91eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/demo/ajax/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define(function(require) {
switch(btn.getAttribute('id')){
case "default":
app.ajax({
url: "http://rap2api.taobao.org/app/mock/3567/return/Yes",
url: appcfg.host.control + "/return/Yes",
success: function(res){
app.loading.hide();
app.toast('数据请求成功');
Expand All @@ -34,7 +34,7 @@ define(function(require) {
break;
case "snapshoot":
app.ajax({
url: "http://rapapi.org/mockjsdata/9195/common/getRandom",
url: appcfg.host.control + "/return/timestamp",
snapshoot: true,
success: function(res){
if(res.snapshoot){
Expand Down

0 comments on commit fe91eb0

Please sign in to comment.