Commit 4cefad9e by sikang

upadte

parent eee27d5b
......@@ -35,7 +35,7 @@ public interface UploadApi {
* CONTRACT_VIDEO:合同;
*/
@Multipart
@PUT("record/files")//*Keep*
@PUT("record/files")
Observable<ResponseBody> uploadPhoto(
@Part MultipartBody.Part photoFile,
@Query("fileType") String fileType
......@@ -76,7 +76,7 @@ public interface UploadApi {
* 身份证ocr识别
*/
@Multipart
@PUT("/record/ocr")//*Keep*
@PUT("/record/ocr")
Observable<OcrResultBean> identityOcr(@Part MultipartBody.Part part);
......@@ -86,7 +86,7 @@ public interface UploadApi {
* @param action ADD:添加、 MODIFY:更新 、DELETE:删除
*/
@Multipart
@PUT("/record/files-extra")//*Keep*
@PUT("/record/files-extra")
Observable<ResponseBody> uploadOtherPhoto(@Part MultipartBody.Part file, @Query("fileType") String fileType, @Query("fileIndex") int fileIndex, @Query("fileAction") String action);
@POST("/harvest/xtrace/upload/gzip")
......
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