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--