洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
856 B

9 months ago
  1. ### 示例代码
  2. ```
  3. 复制代码<template>
  4. </template>
  5. <script>
  6. const n = uni.requireNativePlugin('Ocr-FaceDetectModule');
  7. export default {
  8. methods: {
  9. verifyC: function() {
  10. n.verify(
  11. {
  12. certifyId: this.certify
  13. },
  14. function(t) {
  15. uni.showToast({
  16. title: '返回的内容' + t,
  17. icon: 'none'
  18. });
  19. }
  20. );
  21. },
  22. //获取环境参数接口。
  23. getMetaInfo: function() {
  24. var t = n.getMetaInfo();
  25. },
  26. }
  27. };
  28. </script>
  29. ```
  30. 本插件是阿里云官方出品,上传插件为解决阿里云新用户uniapp ios sdk 没有集成活体+身份证实名,见阿里云官网https://help.aliyun.com/document_detail/179265.html