pull/12/head
caolc 2 years ago
parent d7cd8533c1
commit 0752af5887
  1. 6
      src/api/finance/openTicketApi.js
  2. 2
      vue.config.js

@ -1,6 +1,6 @@
import request from '@/utils/request'
var service_name = 'xkhl-finance'
var group_name = 'OilCustomerInvoicRecord'
var group_name = 'saasCustomerInvoicRecord'
export default {
fuyous(){
@ -18,14 +18,14 @@ export default {
},
getInfo(id) { // 根据id查询
return request({
url: `/${service_name}/${group_name}/getInfo/${id}`,
url: `/${service_name}/saasCustomerInvoicRecord/getInfo/${id}`,
method: 'get'
})
},
save(oilCustomerInvoicRecord) { // 保存
return request({
url: `/${service_name}/${group_name}/save`,
url: `/${service_name}/saasCustomerInvoicRecord/save`,
method: 'post',
data: oilCustomerInvoicRecord
})

@ -26,7 +26,7 @@ module.exports = {
[process.env.VUE_APP_BASE_API]: {
// target: "http://uat.xingoil.com/adminapi",
// target: 'https://www.xingoil.com/adminapi',
target: `http://192.168.0.22:38080`,
target: `http://192.168.0.27:38080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save