Skip to content

Commit

Permalink
Merge pull request #32 from merlanx/master
Browse files Browse the repository at this point in the history
[20200806] Show CPT sample as block in weidentity-quick-tool-web.rst
  • Loading branch information
junqizhang-dev committed Aug 8, 2020
2 parents ccc413f + 9af52f5 commit c27eb3e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions readthedocs/zh_CN/docs/weidentity-quick-tools-web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ WeIdentity 部署工具功能介绍
.. image:: images/weidentity-quick-tools-web-create-weid.png
:alt: weidentity-quick-tools-web-create-weid.png

.. _key_generation:

创建密钥示例代码
::

Expand Down Expand Up @@ -195,14 +197,21 @@ WeIdentity 部署工具功能介绍
- 注册凭证类型

在菜单栏点击功能管理 -> 凭证类型(CPT)管理 -> 注册新的凭证类型(CPT)。
通过以下任意一种方式提供 CPT 内容, 并点击`注册`按钮, 如图所示
* 上传 CPT JSON 文件(:download:`点击下载 CPT 样例 <./samples/id_card.json>`)
通过以下任意一种方式提供 CPT 内容, 并点击`注册`按钮, 如下图所示
* 上传 CPT JSON 文件
* 选择预置 CPT 模版
* 在窗口内直接编辑 CPT 内容

.. image:: images/weidentity-quick-tools-web-register-cpt.png
:alt: weidentity-quick-tools-web-register-cpt.png

.. _cpt_sample:

CPT 样例文件 id_card.json

.. literalinclude:: ./samples/id_card.json


- 下载凭证类型

在菜单栏点击功能管理 -> 凭证类型(CPT)管理, 选择已注册的凭证类型, 点击`下载CPT`按钮。
Expand Down

0 comments on commit c27eb3e

Please sign in to comment.