Commit ef7a258a authored by pete谢兆麟's avatar pete谢兆麟

字段修改

parent d6724427
......@@ -60,7 +60,7 @@ extension YHResignUploadDetailViewModel {
func postUploadDocUpload(id: Int, file: [YHResignUploadDetailFileListModel], callBackBlock: @escaping (_ success: Bool, _ err: YHErrorModel?) -> Void) {
var urls: [Any] = []
for item in file {
let file = ["name": item.name, "url": item.url, "upload_date": item.updated_at]
let file = ["name": item.name, "url": item.url, "updated_at": item.updated_at]
urls.append(file)
}
let params: [String: Any] = ["id": id, "file_list": urls]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment