import request from '../js/request'
import config from '../js/config'

export function addAppProject (params, files) {
    return uni.uploadFile({
        url: config.domain + '/project/addAppProject', //仅为示例，非真实的接口地址
        files: files,
        header: {
            "Authorization": "12",
        },
        formData: params,
    });
}


export function getProjectList (params) {
    return request({
        url: '/project/queryProject',
        method: 'post',
        data: params,
        header: {
            'Content-Type': 'application/json',
        },
    })
}
