Files
juzi/taobao/pages/mvp/mvp.axml
T
xsl ac0b7ca42b feat(sae): add Java MVP backend and Taobao connectivity page
Spring Boot 3.5.6 / Java 17 JAR with cloud gateway envelope and ping/whoami/echo; Taobao gateway signature verification matching the Node implementation; /pages/mvp page, splash dev entry and local transport contract test; SAE + 聚石塔 runbook and portable JDK/Maven setup; Windows 11 wmic shim for Taobao DevTools.
2026-10-31 18:35:04 +08:00

29 lines
1.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<view class="mvp">
<view class="mvp-head">
<text class="mvp-kicker">SAE + 淘宝云应用</text>
<text class="mvp-title">最小连通性验证</text>
<text class="mvp-sub">Java 后端 / 云网关统一响应</text>
</view>
<view class="mvp-card">
<view class="mvp-label">当前 config.js</view>
<text class="mvp-code">{{configText}}</text>
</view>
<view class="mvp-actions">
<button class="mvp-btn mvp-btn-primary" onTap="onPing" loading="{{loading}}">POST /api/taobao/ping</button>
<button class="mvp-btn" onTap="onWhoami" loading="{{loading}}">POST /api/taobao/whoami</button>
<button class="mvp-btn" onTap="onEcho" loading="{{loading}}">POST /api/taobao/echo</button>
<button class="mvp-btn" onTap="onBack">返回首页</button>
</view>
<view class="mvp-card">
<view class="mvp-label">返回(已由 transport.unwrap 解包)</view>
<text class="mvp-code">{{resultText}}</text>
</view>
<view class="mvp-tip">
本地调试:config.transport = direct,baseUrl 指向 127.0.0.1。云端:transport = cloud,baseUrl 必须是 HTTPS,并填写 cloudAppId/cloudEnv。
</view>
</view>