刘翔宇-旅管家 3 years ago
parent 3a1d0815c0
commit bebe546827

@ -74,10 +74,11 @@
"port" : 8081, // "port" : 8081, //
"disableHostCheck" : true, "disableHostCheck" : true,
"proxy": { "proxy": {
"": { "/abs": {
"target":"http://czga.langye.net/e/extend/api/index.php", "target":"http://czga.langye.net/e/extend/api/index.php",
"changeOrigin": true,// "changeOrigin": true,//
"secure": false "secure": false,
"pathRewrite":{"^/api":"/"}
} }
} }
}, },

@ -187,7 +187,7 @@
// } // }
// }); // });
uni.request({ uni.request({
url: '?action=list&classid='+id+'&page_size=10&page=1&ispic=1', url: '/abs?action=list&classid='+id+'&page_size=10&page=1&ispic=1',
method: "GET", method: "GET",
data: { data: {
}, },

Loading…
Cancel
Save