template-project/jsFile/public-api.js

4 lines
133 B
JavaScript

import request from './requst.js';
export function uploadImg(data) {
return request.upload("/universal/api.upload/upload", data);
}