From 8e8afccbe71265bc51fd230fd8ae837ba6bdd80a Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Wed, 26 Jan 2022 09:42:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_ccsens/财务条.http | 15 ++++++++++++++- 文件管理/file/file.http | 8 +++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/pt_ccsens/财务条.http b/pt_ccsens/财务条.http index ea37ab5..d1ebfa1 100644 --- a/pt_ccsens/财务条.http +++ b/pt_ccsens/财务条.http @@ -9,7 +9,7 @@ ### 登录 # song 1218763410024566784 # @name login -POST {{test_tall}}/users/signin +POST {{localhost_tall}}/users/signin {{type}} { @@ -124,3 +124,16 @@ Authorization: Bearer {{login.response.body.$.data.token}} "pageSize":10 } } + +### 发票识别 +POST {{localhost}}/ocr/bill +Authorization: Bearer {{login.response.body.$.data.token}} +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="part"; filename="C:\Users\23778\Desktop\invoice.jpg" + +< C:\Users\23778\Desktop\invoice.jpg + +------WebKitFormBoundary7MA4YWxkTrZu0gW-- diff --git a/文件管理/file/file.http b/文件管理/file/file.http index dbcdea3..a101de2 100644 --- a/文件管理/file/file.http +++ b/文件管理/file/file.http @@ -56,9 +56,11 @@ Authorization: Bearer {{login.response.body.$.data.token}} title ------WebKitFormBoundary7MA4YWxkTrZu0gW -Content-Disposition: form-data; name="files"; filename="111.png" -Content-Type: image/png -< C:\Users\dou\Desktop\TALL-数据中心[数据中心]-202214112256.png +Content-Disposition: form-data; name="files"; filename="invoice.jpg" +Content-Type: image/jpeg + +< C:\Users\23778\Desktop\invoice.jpg + ------WebKitFormBoundary7MA4YWxkTrZu0gW--