Commit cda4e156 authored by 王苓芝's avatar 王苓芝

售后订单服务地址修改

parent 4ced9ebb
import { stringify } from 'querystring';
import _ from 'lodash';
import request from '@/utils/request';
import config from '../../../../config/env.config';
// import config from '../../../../config/env.config';
export async function query(param) {
const params = {
......@@ -10,7 +10,8 @@ export async function query(param) {
};
const data = await request.post('/api/kdsp/op/appeal/list', {
// prefix: 'http://yapi.quantgroups.com/mock/351',
prefix: config.kdspApi,
// prefix: config.kdspApi,
prefix: 'https://kdsp-operation-test2.liangkebang.net',
data: stringify(_.omitBy(params, v => !v)),
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
......@@ -24,7 +25,8 @@ export async function query(param) {
export async function getDetail(params) {
const { data } = await request.post('/api/kdsp/op/appeal/info', {
data: stringify(_.omitBy(params, v => !v)),
prefix: config.kdspApi,
// prefix: config.kdspApi,
prefix: 'https://kdsp-operation-test2.liangkebang.net',
// prefix: 'http://yapi.quantgroups.com/mock/351',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
......@@ -36,7 +38,8 @@ export async function getDetail(params) {
export async function audit(params) {
const data = await request.post('/api/kdsp/op/appeal/audit', {
data: stringify(params),
prefix: config.kdspApi,
// prefix: config.kdspApi,
prefix: 'https://kdsp-operation-test2.liangkebang.net',
// prefix: 'http://yapi.quantgroups.com/mock/351',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
......
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