Browse Source

增加国家实名认证系统

alexzy 3 years ago
parent
commit
1e7125f01c
1 changed files with 24 additions and 0 deletions
  1. 24 0
      src/AuthenticationServiceInterface.php

+ 24 - 0
src/AuthenticationServiceInterface.php

@@ -0,0 +1,24 @@
+<?php
+
+namespace Yxy\Service;
+
+interface AuthenticationServiceInterface
+{
+    /**
+     * 提交实名认证
+     * @param string $user_id
+     * @param string $real_name
+     * @param string $id_card
+     * @param string $biz_id
+     * @return string|bool
+     */
+    public function checkAuth(string $user_id = '', string $real_name = '', string $id_card = '', string $biz_id = '');
+
+    /**
+     * 查询实名认证
+     * @param $user_id
+     * @param $biz_id
+     * @return string|bool
+     */
+    public function queryAuth($user_id, $biz_id);
+}