能否给出具体的错误信息,现在是一头雾水.不知道从哪里去修改
域名已加入白名单
小程序关于开发与正式环境相关代码
const bizlogic = {
// 本地测试地址
// localTest: 'http://api.deyuny.com/',
localTest: 'http://api.deyuny.com/',
localTestImg: 'http://api.deyuny.com/',
// 测试服务器地址
serverTest: 'https://testapiny.jishizhuanghz.com/',
serverTestImg: 'https://testapiny.jishizhuanghz.com/',
// 正式服务器接口地址
serverFormal: 'https://api.ny.jishizhuanghz.com/',
serverFormalImg: 'https://api.ny.jishizhuanghz.com/',
};
let domin = '';
let imgHost = '';
// 定义域名配置
// const envVersion = 'release';
const envVersion = __wxConfig.envVersion;
switch (envVersion) {
case 'develop':
domin = bizlogic.localTest;
imgHost = bizlogic.localTestImg;
break;
case 'trial':
domin = bizlogic.serverTest;
imgHost = bizlogic.serverTestImg;
break;
case 'release':
domin = bizlogic.serverFormal;
imgHost = bizlogic.serverFormalImg;
logDebug = false;
break;
default:
domin = bizlogic.serverFormal;
imgHost = bizlogic.serverFormalImg;
logDebug = false;
break;
}
为什么就是审核不通过呢?
你好,经核实,小程序打开报错,提示:请求失败request:failurlnotindomainlist,真机调试后复测,仍无法进入小程序。请修复后再提交审核。(测试环境wifi/4G:iPhone 7IOS 11.3.1 微信7.0.1)