You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
605 B
27 lines
605 B
import { request } from '@/utils/http'
|
|
|
|
//修改用户信息(单项)
|
|
export function modifyField(field:string,value:string) {
|
|
return request.http({
|
|
url: '/api/huiqitong/modify/'+ field +'?value=' + value,
|
|
method: 'PUT'
|
|
})
|
|
}
|
|
//修改用户信息(单项)
|
|
export function modifyField1(field:string,data:any) {
|
|
return request.http({
|
|
url: '/api/huiqitong/modify/'+ field,
|
|
method: 'PUT',
|
|
data
|
|
})
|
|
}
|
|
|
|
//图片上传
|
|
export function updataImage(data:any) {
|
|
return request.http({
|
|
url: '/api/file/image',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
|
|
|