Commit e8f7ca36 by Tang

feat: 境内码查询接口

parent 7fa690ac
...@@ -5,7 +5,7 @@ import { ...@@ -5,7 +5,7 @@ import {
const Prefix = process.env.NODE_ENV === 'development' ? '/gs1' : ''; const Prefix = process.env.NODE_ENV === 'development' ? '/gs1' : '';
// 条码查询—GLN查询/境外码查询 // 条码查询—GLN查询/境外码查询
const searchGln = (params = {}) => { const searchGln = (params = {}) => {
return POST(`${Prefix}/office/codeSearch/api/gln`, params) return POST(`${Prefix}/office/codeSearch/api/gln`, params)
} }
...@@ -15,8 +15,14 @@ const searchGetList = (params = {}) => { ...@@ -15,8 +15,14 @@ const searchGetList = (params = {}) => {
return POST(`${Prefix}/office/shortcode/api/getList`, params) return POST(`${Prefix}/office/shortcode/api/getList`, params)
} }
// 条码查询—境内码查询
const searchInternal = (params = {}) => {
return POST(`${Prefix}/office/codeSearch/api/domesticCode`, params)
}
export default { export default {
searchGln, searchGln,
searchGetList, searchGetList,
searchInternal
} }
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