| 1234567891011121314151617181920212223242526 |
- import config from "@/config"
- import http from "@/utils/request"
- export default {
- job: {
- url: `${config.API_URL}/task/job`,
- name: "-",
- get: async function(data={}){
- return await http.get(this.url, data);
- }
- },
- save: {
- url: `${config.API_URL}/task/save`,
- name: "-",
- post: async function(data={}){
- return await http.post(this.url, data);
- }
- },
- del: {
- url: `${config.API_URL}/task/del`,
- name: "-",
- post: async function(data={}){
- return await http.post(this.url, data);
- }
- }
- }
|