import { $next,$cms,$node,$helper } from "@jx3box/jx3box-common/js/https.js";调用函数返回一个axios实例。
mute(仅限旧版https.js,不包含request.js): 出错错误时,是否出现POP报错(默认为true),显示设置为false时,报错将静默popType(仅限旧版https.js,不包含request.js): pop对象{type:message/notify/alert,title:<string>,desc:<msg>,style:error/success/info/warning}proxy: 是否需要在开发环境下请求由本地代理(鉴权接口将均经过本地代理,无鉴权版可自行确定)port: 代理模式下端口domain: 指定域名(其他域名使用相同包装器时)
$cms().get(`/api/cms/app/pz/$id`).then()$next({mute:true}).get(`/path/to`).then()$helper().get(`/path/to`).then()$node({proxy:true,port:7002}).get(`/path/to`).then()$spider({domain:__spider}).get(`/path/to`).then()