Commit 05e671ca by tang

feat: 添加定制服务和条码图书接口

parent 00bb50ec
...@@ -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
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