zhongrj
2024-03-27 cc1c0a396698648256c350f6f0fe2cb2f0b02c7e
src/api/qualificationExamination/qualificationExamination.js
@@ -1,18 +1,18 @@
import request from '@/router/axios';
import axios from 'axios'
var newAxios = axios.create({
    baseURL: "http://192.168.0.105:812",
    withCredentials: false,
    // headers: {
    //     "Content-type": "application/x-ww-form-urlencoded"
    // }
})
// var newAxios = axios.create({
//     baseURL: "http://192.168.0.105:812",
//     withCredentials: false,
//     // headers: {
//     //     "Content-type": "application/x-ww-form-urlencoded"
//     // }
// })
export const getList = (current, size, params) => {
    // return request({
    return newAxios({
        url: '/api/punish/list',
    return request({
        // return newAxios({
        url: '/api/apply/page',
        method: 'get',
        params: {
            ...params,
@@ -23,8 +23,8 @@
}
export const adddata = (row) => {
    // return request({
    return newAxios({
    return request({
        // return newAxios({
        url: '/api/punish/save',
        // url: 'http://192.168.0.104:80/punish/save',
        method: 'post',
@@ -33,8 +33,8 @@
}
export const update = (row) => {
    // return request({
    return newAxios({
    return request({
        // return newAxios({
        url: '/api/punish/update',
        method: 'post',
        data: row
@@ -42,8 +42,8 @@
}
export const remove = (ids) => {
    // return request({
    return newAxios({
    return request({
        // return newAxios({
        url: '/api/punish/remove',
        method: 'post',
        params: {