From f1058020f7b4d4e8cdb278d235bfe55eb9e47473 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 08 二月 2017 11:48:04 +0800 Subject: [PATCH] add api --- VisitFace/document/erdb api.txt | 25 +++++++++++++++++++++++-- VisitFace/document/erdb.vpp | 0 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/VisitFace/document/erdb api.txt b/VisitFace/document/erdb api.txt index 374f374..a3ea2b2 100644 --- a/VisitFace/document/erdb api.txt +++ b/VisitFace/document/erdb api.txt @@ -17,7 +17,7 @@ 1.2. StatusID -1.3. 浜鸿劯璇嗗埆 #todo 鑰冭檻灏佽涓�涓暣浣揳pi +1.3. 浜鸿劯璇嗗埆 閫氳繃鍥惧儚鑾峰緱faceID Request: { @@ -52,7 +52,7 @@ { personID : 123, // 鏃犳晥鍊艰〃绀烘病鏈夊搴旂殑浜篒D personTypeID : 1, // 浜哄憳鍒嗙被鍒楄〃 - visitStatusID : 1, // 璁块棶鐘舵�� #鏂板缓琛ㄤ繚瀛樻暟鎹� + visitStatusID : 1, // 璁块棶鐘舵�� name : "name", checkingCompany : [123, 456], // 鑰冨嫟鍏徃ID鍒楄〃 warning : false // 鏄惁涓鸿鍛� @@ -71,6 +71,27 @@ Response: 鎴愬姛/閿欒缁撴灉 +1.6.1. 鏁村悎锛氶�氳繃浜鸿劯鍥惧儚锛屽畬鎴愮姸鎬佷慨鏀癸紝杩斿洖褰撳墠鐘舵�� +锛堟暣鍚�1.3. 1.4. 1.6.锛� +Request: +{ + placeID : 123, // 鑻ヤ负-1鍒欏彧鎼滅储VisitFaceDB + imgs : [ "image base64" ] // 瀵瑰簲澶氫釜浜虹殑浜鸿劯鍥惧儚 +} +Response: +[ + { + personID : 123, + visitStatusID : 1 // 鏇存柊涔嬪悗鐨勮闂姸鎬� + }, + { + faceID : -1, // 浜鸿劯鎼滅储鏃犵粨鏋� + }, + { + //涓氬姟閿欒锛� 9.1. 閫氱敤鎴愬姛/閿欒缁撴灉 + } +] + 1.7. 鏌ヨ浜哄憳鏉ヨ/绛惧埌鐘舵�� 闇�瑕佹敮鎸佹壒閲忔煡璇� Request: diff --git a/VisitFace/document/erdb.vpp b/VisitFace/document/erdb.vpp index 2858e4f..df9c19b 100644 --- a/VisitFace/document/erdb.vpp +++ b/VisitFace/document/erdb.vpp Binary files differ -- Gitblit v1.8.0