|
|
|
@ -62,7 +62,7 @@ export namespace {{entity}}Api { |
|
|
|
* 上传图片 |
|
|
|
*/ |
|
|
|
export function upload(params: any) { |
|
|
|
return requestClient.post(applicationConfig.javaURL+'/file/up', params, |
|
|
|
return requestClient.post(applicationConfig.javaURL+'/file/upImg', params, |
|
|
|
{ headers: {'Content-Type': 'multipart/form-data', Token: useAccessStore().accessToken, version: '1.0.1'}}); |
|
|
|
} |
|
|
|
|
|
|
|
|