验证ios 和 android app 后 clear code 和 没有匹配到的平台匹配

This commit is contained in:
18292417675
2024-04-19 17:01:44 +08:00
parent 1e3d2da804
commit f56870bc5d
5 changed files with 10 additions and 15 deletions

View File

@@ -33,10 +33,7 @@ function baseRequest(url, method, data, {
}
if (store.state.app.token) header[TOKENNAME] = store.state.app.token;
return new Promise((reslove, reject) => {
console.log(4333222);
console.log(Url);
Url=HTTP_REQUEST_URL||'http://api.front.hdq.xbdzz.cn'
console.log( Url + '/api/front/' + url);
uni.request({
url: Url + '/api/front/' + url,
method: method || 'GET',