fix(device): 设备注册绑定接口添加 PoP 验签,照片下载改为设备端本地解密

This commit is contained in:
TongTongStudio
2026-08-24 21:32:22 +08:00
parent 417c4989f7
commit dbb75658a6
38 changed files with 2300 additions and 761 deletions

View File

@@ -141,6 +141,50 @@
android:textSize="13sp" />
</LinearLayout>
<!-- ④b 下载解密(流式 StreamingResponseBody -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:orientation="horizontal">
<Button
android:id="@+id/btn_download_streaming"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="@{click::downloadPhotoStreaming}"
android:text="④b 下载解密(流式)"
android:textSize="13sp" />
</LinearLayout>
<!-- ④c 列出全部照片 | ④d 设备本地解密全部照片(端到端加密) -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:orientation="horizontal">
<Button
android:id="@+id/btn_list_photos"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="@{click::listAllPhotos}"
android:text="④c 列出全部照片"
android:textSize="13sp" />
<Button
android:id="@+id/btn_download_all_local"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="8dp"
android:onClick="@{click::downloadAllPhotosLocal}"
android:text="④d 本地解密全部"
android:textSize="13sp" />
</LinearLayout>
<!-- ⑤ 恢复出厂 | ⑥ 重新注册 -->
<LinearLayout
android:layout_width="match_parent"