0
我想用react-redux-universal-hot-example样板文件上传文件。通过API调用使用reactmmx文件上传
在提交,该函数以下称为(由ApiClient管理):
export function update(data) {
return {
types: [UPLOAD, UPLOAD_SUCCESS, UPLOAD_FAIL],
promise: (client) => client.post('/project/update', {
files: data
})
};
}
在服务器端,下面的函数被调用(由Api管理):
export default function update(req, params) {
// get the file
}
文件信息位于何处?