Merge pull request '需求发布接口对接' (#56) from chenxuelian into dev

Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/56
This commit is contained in:
1171906056
2023-01-17 15:37:18 +00:00
2 changed files with 105 additions and 87 deletions

View File

@@ -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) {