域名地址请求有问题,急求解,谢谢
发布于 6 年前 作者 yanliu 17095 次浏览 来自 问答

设置的域名接口地址为  https://www.bjhanyizheng.com/api/product/classify 这种,

但是接口请求的时候请求失败 报错: GET https://m.bjhanyizheng.com/api/product/classify net::ERR_NAME_NOT_RESOLVED

h@appservice?t=1539074763489:5000

createRequestTask@appservice?t=1539074763489:5000

invoke@appservice?t=1539074763489:5000

invoke@WAService.js:4

V@WAService.js:6

K@WAService.js:6

Wt@WAService.js:7

e@WAService.js:13

(anonymous)@WAService.js:13

(anonymous)@WAService.js:6

(anonymous)@WAService.js:7

(anonymous)@WAService.js:15

(anonymous)@WAService.js:6

request@network.js? [sm]:37

GET@network.js? [sm]:16

getProductType@method.js? [sm]:194

getProductTypes@product.js? [sm]:231

onLoad@product.js? [sm]:59

(anonymous)@WAService.js:19

Xt@WAService.js:20

on@WAService.js:20

un@WAService.js:20

(anonymous)@WAService.js:20

(anonymous)@WAService.js:19

L.emit@WAService.js:8

emit@WAService.js:6

(anonymous)@WAService.js:9

(anonymous)@WAService.js:6

e@appservice?t=1539074763489:5000

n.registerCallback.t@appservice?t=1539074763489:5000

l.forEach.t@appservice?t=1539074763489:5000

(anonymous)@appservice?t=1539074763489:5000

i.onmessage@appservice?t=1539074763489:5000

很奇怪www变成了m ,不知道是什么原因,难道是域名地址配置的时候出错了吗?

请帮忙解答一下,谢谢。

2 回复

m.baidu.com 是百度的移动端地址,访问网址的时候是用移动端设备访问的,所以直接就跳转到移动端域名了吧

回到顶部