@ -74,10 +74,11 @@
"port" : 8081, //端口号
"disableHostCheck" : true,
"proxy": {
"": {
"/abs": {
"target":"http://czga.langye.net/e/extend/api/index.php",
"changeOrigin": true,//是否跨域
"secure": false
"secure": false,
"pathRewrite":{"^/api":"/"}
}
},
@ -187,7 +187,7 @@
// }
// });
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",
data: {