提交 54bb69f8 编写于 作者: 小帅丶

:sparkles:提交红酒、地标、速算识别接口地址

上级 da222ac1
......@@ -51,6 +51,12 @@ const visionimgfilterurl = prefix + '/rest/ptu/visionimgfilter?clientType=' + cl
const facestickerurl = prefix + '/rest/ptu/facesticker?clientType=' + clientType + '&authCode=' + authCode;
//肤质分析
const faceskinurl = prefix + '/rest/fpp/detect?clientType=' + clientType + '&authCode=' + authCode;
//地标景区识别url
const landmarkurl = prefix + '/rest/icr/detect?clientType=' + clientType + '&apiType=landmark&authCode=' + authCode;
//红酒识别url
const redwineurl = prefix + '/rest/icr/detect?clientType=' + clientType + '&apiType=redwine&authCode=' + authCode;
//速算识别url
const qcurl = prefix + '/rest/youtu/detect?clientType=' + clientType + '&apiType=qc&authCode=' + authCode;
/*常量函数*/
function getOauthUrl() {
return oauthurl;
......@@ -121,6 +127,15 @@ function getFacestickerurl() {
function getFaceskinurl(){
return faceskinurl;
}
function getLandmarkUrl() {
return landmarkurl;
}
function getRedwineUrl() {
return redwineurl;
}
function getQcUrl() {
return qcurl;
}
/*暴露常量函数*/
module.exports.getOauthUrl = getOauthUrl;
module.exports.getFaceUrl = getFaceUrl;
......@@ -144,4 +159,7 @@ module.exports.getFacedecorationurl = getFacedecorationurl;
module.exports.getPtuimgfilterurl = getPtuimgfilterurl;
module.exports.getVsionimgfilterurl = getVsionimgfilterurl;
module.exports.getFacestickerurl = getFacestickerurl;
module.exports.getFaceskinurl = getFaceskinurl;
\ No newline at end of file
module.exports.getFaceskinurl = getFaceskinurl;
module.exports.getLandmarkUrl = getLandmarkUrl;
module.exports.getRedwineUrl = getRedwineUrl;
module.exports.getQcUrl = getQcUrl;
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册