Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
05e671ca
Commit
05e671ca
authored
Dec 08, 2021
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加定制服务和条码图书接口
parent
00bb50ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
api.js
src/axios/api.js
+4
-3
No files found.
src/axios/api.js
View file @
05e671ca
...
@@ -8,7 +8,7 @@ Vue.use(VueResource);
...
@@ -8,7 +8,7 @@ Vue.use(VueResource);
const
Prefix2
=
process
.
env
.
NODE_ENV
===
'development'
?
'/gs1'
:
process
.
env
.
VUE_APP_API_URL
;
const
Prefix2
=
process
.
env
.
NODE_ENV
===
'development'
?
'/gs1'
:
process
.
env
.
VUE_APP_API_URL
;
/* 公共接口 */
/* 公共接口 */
// 首页大轮播图
// 首页大轮播图
const
getCaptcha
=
(
query
=
{})
=>
{
const
getCaptcha
=
(
query
=
{})
=>
{
return
Vue
.
http
.
get
(
`
${
Prefix2
}
/office/captcha.jpg?uuid=
${
query
.
uuid
}
`
,
{
return
Vue
.
http
.
get
(
`
${
Prefix2
}
/office/captcha.jpg?uuid=
${
query
.
uuid
}
`
,
{
responseType
:
"blob"
,
responseType
:
"blob"
,
...
@@ -19,13 +19,15 @@ import home from "./module/home.js"
...
@@ -19,13 +19,15 @@ import home from "./module/home.js"
import
org
from
"./module/org.js"
import
org
from
"./module/org.js"
import
business
from
"./module/business.js"
import
business
from
"./module/business.js"
import
search
from
"./module/search.js"
import
search
from
"./module/search.js"
import
service
from
"./module/service.js"
const
api
=
{
const
api
=
{
home
,
home
,
org
,
org
,
business
,
business
,
search
,
search
,
service
,
getCaptcha
,
getCaptcha
,
}
}
export
default
api
export
default
api
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment