需求发布接口对接
This commit is contained in:
@@ -205,7 +205,7 @@ const toast = {
|
||||
}
|
||||
}
|
||||
const apiService = {
|
||||
uploadImgUrl: serverHost,
|
||||
uploadImgUrl: serverHost + `/upload/image/`,
|
||||
imgUrl: serverHost,
|
||||
// login: data => {
|
||||
// data = Object.assign(data || {}, {})
|
||||
@@ -375,10 +375,10 @@ const apiService = {
|
||||
resolve(service.post(url, data))
|
||||
})
|
||||
},
|
||||
submitIdeasAndNeeds(data) {
|
||||
const url = `/require/release/`
|
||||
getIdeasAndNeedsFormdata(data) {
|
||||
const url = `/require/formdata/`
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve(service.putWithFormData(url, data))
|
||||
resolve(service.post(url, data))
|
||||
})
|
||||
},
|
||||
postMobileByMnp(data) {
|
||||
|
||||
Reference in New Issue
Block a user