Commit 0e926bd1 by Jianli Ou

对接境外条码查询gln查询接口

parent 493f10b7
......@@ -48,7 +48,23 @@ const searchGlossary = (params = {}) => {
// 条码查询—境外码查询-通过GTIN查询验证产品
const searchGtin = (params = {}) => {
return GET(`${Prefix}/office/vbgOutSearch/api/verified`, params)
return POST(`${Prefix}/office/vbgOutSearch/api/verified`, params)
}
// 条码查询—境外码查询-通过GLN查询
const searchGLN = (params = {}) => {
return POST(`${Prefix}/office/vbgOutSearch/api/searchGLN`, params)
}
// 条码查询—境外码查询-验证其他GS1标识
const searchGs1 = (params = {}) => {
return POST(`${Prefix}/office/vbgOutSearch/api/otherKey`, params)
}
// 条码查询—境外码查询-验证企业
const searchQy = (params = {}) => {
return POST(`${Prefix}/office/vbgOutSearch/api/firmSearch`, params)
}
// 国家列表
const searchCountry = (params = {}) => {
return GET(`${Prefix}/office/vbgOutSearch/api/searchCountry`, params)
}
export default {
......@@ -60,5 +76,9 @@ export default {
searchBike,
searchGlossary,
searchCodeGln,
searchGtin
searchGtin,
searchGLN,
searchGs1,
searchQy,
searchCountry
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment