diff --git a/src/api/user/index.js b/src/api/user/index.js index 0ff0f132..d045da0d 100644 --- a/src/api/user/index.js +++ b/src/api/user/index.js @@ -56,7 +56,7 @@ export function userConsulting(query){ return request({ url: '/transaction/communicate/communicateList/member', method: 'get', - data: query + params: query }) } @@ -90,6 +90,15 @@ export function supplyList(query){ return request({ url: '/transaction/demand/supplyDemandList/member', method: 'get', + params: query + }) +} + +//发布供求 +export function userDemand(query){ + return request({ + url: '/transaction/demand', + method: 'post', data: query }) } diff --git a/src/views/project/index.vue b/src/views/project/index.vue index 462fc8e1..8725d1f0 100644 --- a/src/views/project/index.vue +++ b/src/views/project/index.vue @@ -16,7 +16,7 @@ - +