{"size": 629, "ext": "js", "max_stars_repo_path": "src/api/supplier.js", "max_stars_repo_name": "dpf1945744457/XMF", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/supplier.js", "max_issues_repo_name": "dpf1945744457/XMF", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/supplier.js", "max_forks_repo_name": "dpf1945744457/XMF", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.0, "max_line_length": 37, "alphanum_fraction": 0.5437201908}
import request from '@/utils/request'

// 新增
export function merchantAdd(data) {
    return request({
        url: '/merchant/add',
        method: 'post',
        data: data
    })
}

// 例表
export function merchantList(data) {
    return request({
        url: '/merchant/list',
        method: 'get',
        params: data
    })
}

//修改
export function editList(data) {
    return request({
        url: '/merchant/update',
        method: 'post',
        data: data
    })
}
// 删除
export function deleteList(data) {
    return request({
        url: '/merchant/delete',
        method: 'delete',
        params: data
    })
}
